完善功能
This commit is contained in:
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