补充微信登录和注册申请重提
This commit is contained in:
@@ -42,6 +42,15 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
resubmitRegistration(data) {
|
||||
return request({
|
||||
url: '/user/workbench/register/resubmit',
|
||||
method: 'POST',
|
||||
params: { __baseUrl: API_DOMAIN },
|
||||
data
|
||||
})
|
||||
},
|
||||
|
||||
sendCode(phone) {
|
||||
return request({
|
||||
url: '/user/send-verification-code',
|
||||
@@ -81,6 +90,15 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
wechatAutoLogin(wxCode) {
|
||||
return request({
|
||||
url: '/user/wechat-mini/auto-login',
|
||||
method: 'POST',
|
||||
params: { __baseUrl: API_DOMAIN },
|
||||
data: { wxCode }
|
||||
})
|
||||
},
|
||||
|
||||
getPhoneLoginShops(phone) {
|
||||
return request({
|
||||
url: `/user/check/login-shops/phone/${encodeURIComponent(phone)}`,
|
||||
|
||||
Reference in New Issue
Block a user