Files
xk-doctor-wx/api/platformStore.js

41 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

/**
* 兼容旧引用平台门店 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 },
];
/** @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 };
}