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