Files
xk-doctor-wx/api/platformStore.js
李琦 cb290f3e95 fix(login): 密码登录补充密码非空前端校验
- doctor-login submitLogin 增加「请输入密码」前置校验,
  与 getCode 一致,避免空密码误触发登录请求
- 配合后端 service_user 空密码回退 PC 医生/药师密码校验
2026-07-19 16:08:23 +08:00

41 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 兼容旧引用:平台门店 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 };
}