收紧店务端验证码登录准入
This commit is contained in:
@@ -2,6 +2,7 @@ const API_AUTH_FREE_PATHS = [
|
||||
'/user/send-verification-code',
|
||||
'/user/phone-login',
|
||||
'/user/check/login-shops/phone/',
|
||||
'/user/check/manager-login-shops/phone/',
|
||||
'/legal-agreement/current'
|
||||
]
|
||||
|
||||
|
||||
@@ -50,6 +50,9 @@ export const authApi = {
|
||||
getPhoneLoginShops(phone: string): Promise<LoginShopSelectionResponse> {
|
||||
return api.get(`/user/check/login-shops/phone/${encodeURIComponent(phone)}`)
|
||||
},
|
||||
getManagerPhoneLoginShops(phone: string): Promise<LoginShopSelectionResponse> {
|
||||
return api.get(`/user/check/manager-login-shops/phone/${encodeURIComponent(phone)}`)
|
||||
},
|
||||
getCurrentAgreements(): Promise<LegalAgreement[]> {
|
||||
return api.get('/legal-agreement/current')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user