fix(login): 密码登录补充密码非空前端校验
- doctor-login submitLogin 增加「请输入密码」前置校验, 与 getCode 一致,避免空密码误触发登录请求 - 配合后端 service_user 空密码回退 PC 医生/药师密码校验
This commit is contained in:
@@ -13,10 +13,19 @@ const DEV = {
|
||||
wsUrl: 'ws://127.0.0.1:12080/ws',
|
||||
};
|
||||
|
||||
// const PROD = {
|
||||
// legacyApiBase: 'https://app.xiaokang88.com/service/v1/',
|
||||
// newApiBase: 'https://api.xiaokang88.com/api/doctor/',
|
||||
// wsUrl: 'wss://api.ws.g.xiaokang88.com/ws',
|
||||
// };
|
||||
|
||||
// const TEST = {
|
||||
const PROD = {
|
||||
legacyApiBase: 'https://app.xiaokang88.com/service/v1/',
|
||||
newApiBase: 'https://api.xiaokang88.com/api/doctor/',
|
||||
wsUrl: 'wss://api.ws.g.xiaokang88.com/ws',
|
||||
legacyApiBase: 'https://xk.test.saas.api-yii.nailaoyun.cn/service/v1/',
|
||||
newApiBase: 'https://xk.test.saas.api.nailaoyun.cn/api/doctor/',
|
||||
// wsUrl: 'wss://api.ws.g.xiaokang88.com/ws',
|
||||
wsUrl: 'wss://xk.ws.nailaoyun.cn/ws',
|
||||
// wsUrl: '',
|
||||
};
|
||||
|
||||
export function isDoctorWxDev() {
|
||||
|
||||
Reference in New Issue
Block a user