diff --git a/api/app.js b/api/app.js
index c1acc67..08bb733 100644
--- a/api/app.js
+++ b/api/app.js
@@ -130,4 +130,4 @@ export function getPayway(params) {
// 小程序码
export function apiMnpQrCode(params) {
return request.get('share/getMnQrcode', { params })
-}
+}
\ No newline at end of file
diff --git a/api/shop.js b/api/shop.js
index f8080b3..413ac4e 100644
--- a/api/shop.js
+++ b/api/shop.js
@@ -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 })
}
\ No newline at end of file
diff --git a/api/store.js b/api/store.js
index da24ae0..b78857a 100644
--- a/api/store.js
+++ b/api/store.js
@@ -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")
}
\ No newline at end of file
diff --git a/api/user.js b/api/user.js
index 97c3153..700d811 100644
--- a/api/user.js
+++ b/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)
+}
diff --git a/bundle/pages/user_spread/user_spread.vue b/bundle/pages/user_spread/user_spread.vue
index 7710717..d1e6cfe 100644
--- a/bundle/pages/user_spread/user_spread.vue
+++ b/bundle/pages/user_spread/user_spread.vue
@@ -48,10 +48,10 @@
label="现住省份:" :border-bottom="false" placeholder="请选择省、市、区">
-
+