2026-07-19 16:07:46 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 兼容旧引用:平台门店 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';
|
2026-06-09 17:02:13 +08:00
|
|
|
|
|
|
|
|
|
|
export const DRUG_TYPE_OPTIONS = [
|
|
|
|
|
|
{ label: '中药', value: 1 },
|
|
|
|
|
|
{ label: '西药', value: 2 },
|
|
|
|
|
|
{ label: '保健食品', value: 3 },
|
|
|
|
|
|
{ label: '产品服务包', value: 5 },
|
|
|
|
|
|
{ label: '非药品', value: 6 },
|
|
|
|
|
|
{ label: '医疗器械', value: 7 },
|
|
|
|
|
|
];
|
2026-07-19 16:07:46 +08:00
|
|
|
|
|
|
|
|
|
|
/** @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 };
|
|
|
|
|
|
}
|