完善管理师端多店铺登录选择
This commit is contained in:
@@ -10,6 +10,13 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
getLoginShops(account) {
|
||||
return request({
|
||||
url: `/auth/login-shops/${encodeURIComponent(account)}`,
|
||||
method: 'GET'
|
||||
})
|
||||
},
|
||||
|
||||
register(data) {
|
||||
return request({
|
||||
url: '/auth/register',
|
||||
@@ -57,6 +64,16 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
getPhoneLoginShops(phone) {
|
||||
return request({
|
||||
url: `/user/check/login-shops/phone/${encodeURIComponent(phone)}`,
|
||||
method: 'GET',
|
||||
params: {
|
||||
__baseUrl: API_DOMAIN
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getCurrentAgreements() {
|
||||
return request({
|
||||
url: '/legal-agreement/current',
|
||||
|
||||
Reference in New Issue
Block a user