完善功能
This commit is contained in:
@ -130,4 +130,4 @@ export function getPayway(params) {
|
||||
// 小程序码
|
||||
export function apiMnpQrCode(params) {
|
||||
return request.get('share/getMnQrcode', { params })
|
||||
}
|
||||
}
|
||||
@ -89,4 +89,9 @@ export function apiInvoiceDetail(params) {
|
||||
// 订单发票详情
|
||||
export function apiOrderInvoiceDetail(params) {
|
||||
return request.get("order/invoice", { params })
|
||||
}
|
||||
|
||||
// 获取城市下对应的店铺
|
||||
export function getCityShops(params) {
|
||||
return request.get("shop/getShopCityInfo", { params })
|
||||
}
|
||||
@ -197,4 +197,8 @@ export function getCityLists() {
|
||||
// 逆解析定位地址
|
||||
export function getGeocoder(params) {
|
||||
return request.get("index/geocoder", {params})
|
||||
}
|
||||
|
||||
export function getHotCityLists() {
|
||||
return request.get("index/hotCity")
|
||||
}
|
||||
12
api/user.js
12
api/user.js
@ -99,8 +99,9 @@ export function setUserInfo(data) {
|
||||
}
|
||||
|
||||
// 获取手机号
|
||||
export function getWxMnpMobile(data) {
|
||||
return request.post('user/getMobile', data)
|
||||
export function getWxMnpMobile(data, token) {
|
||||
const config = token ? { header: { token } } : undefined
|
||||
return request.post('user/getMobile', data, config)
|
||||
}
|
||||
|
||||
//更新微信信息
|
||||
@ -293,3 +294,10 @@ export const apibindOa = (params) => request.post('account/oaAuthLogin', params)
|
||||
export function withdrawReceive(data) {
|
||||
return request.post('withdraw/receive', data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 分销推广扫码进入的提交申请
|
||||
export function scanSubmit(data) {
|
||||
return request.post('distribution/wxCodeApply', data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user