完善功能

This commit is contained in:
wangxiaowei
2026-04-17 21:52:51 +08:00
parent c3639526d1
commit 7f8f15b809
12 changed files with 1364 additions and 426 deletions

View File

@ -130,4 +130,4 @@ export function getPayway(params) {
// 小程序码
export function apiMnpQrCode(params) {
return request.get('share/getMnQrcode', { params })
}
}

View File

@ -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 })
}

View File

@ -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")
}

View File

@ -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)
}