完善管理师端多店铺登录选择

This commit is contained in:
2026-06-25 22:04:58 +08:00
parent 87254919a8
commit 9b46ed7d5d
4 changed files with 299 additions and 14 deletions
+17
View File
@@ -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',