- doctor-login submitLogin 增加「请输入密码」前置校验, 与 getCode 一致,避免空密码误触发登录请求 - 配合后端 service_user 空密码回退 PC 医生/药师密码校验
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
/**
|
||
* 兼容旧引用:平台门店 API 统一走 storeManage(按 loginMode 切前缀)
|
||
*/
|
||
export {
|
||
getStoreList as getPlatformStoreList,
|
||
getStoreDetail as getPlatformStoreDetail,
|
||
updateStore as updatePlatformStore,
|
||
openStorePcWindows,
|
||
openStoreQrCode,
|
||
updateStoreShippingFree,
|
||
updateStoreSubscribeStatus,
|
||
updateStoreSeeRate,
|
||
updateStoreAllowInsurance,
|
||
updateStoreClinicType,
|
||
toggleSalespersonSeePrice,
|
||
getStoreDrugsByType,
|
||
updateStoreDrugPrices,
|
||
getDoctorOption,
|
||
getInternetMedicalStoreOption,
|
||
bindOnlineConsultation,
|
||
} from './storeManage.js';
|
||
|
||
export const DRUG_TYPE_OPTIONS = [
|
||
{ label: '中药', value: 1 },
|
||
{ label: '西药', value: 2 },
|
||
{ label: '保健食品', value: 3 },
|
||
{ label: '产品服务包', value: 5 },
|
||
{ label: '非药品', value: 6 },
|
||
{ label: '医疗器械', value: 7 },
|
||
];
|
||
|
||
/** @deprecated 请使用 updateStore */
|
||
export async function updateStoreExternalField(data) {
|
||
const { updateStore } = await import('./storeManage.js');
|
||
return updateStore(data);
|
||
}
|
||
|
||
export async function deletePlatformStore() {
|
||
return { ok: false, data: null, res: null };
|
||
}
|