Commit 91c4fa36 by 张立顺

fix 老旧接口切换回去

1 parent c7c258fe
...@@ -13,14 +13,24 @@ import { applyDivisionRuleTestGetMock } from "./mockDivisionRuleTestGetResponse" ...@@ -13,14 +13,24 @@ import { applyDivisionRuleTestGetMock } from "./mockDivisionRuleTestGetResponse"
const path = "dj.api."; const path = "dj.api.";
const path2 = "dj.api.smartcarlife."; const path2 = "dj.api.smartcarlife.";
/** 商户管理/关联 - 分页列表 */ /**
* 【新接口】商户管理/关联 - 分页列表
* method: dj.api.servicemerchantref.newpageServiceMerchantRef
* 使用方:merchantManage.vue(商户管理)、storeManage.vue(项目组门店管理)
*/
export function pageServiceMerchantRef(data) { export function pageServiceMerchantRef(data) {
data.method = "dj.api.servicemerchantref.newpageServiceMerchantRef"; data.method = "dj.api.servicemerchantref.newpageServiceMerchantRef";
return request(data); return request(data);
} }
/**
* 【旧接口】4S店远程搜索下拉等通用场景
* method: dj.api.servicemerchantref.pageServiceMerchantRef
* 使用方:ShopConfig 列表/编辑弹窗、BI 事件、客户管理等 getList 调用处
*/
export function getList(data) { export function getList(data) {
return pageServiceMerchantRef(data); data.method = `${path}servicemerchantref.pageServiceMerchantRef`;
return request(data);
} }
// 删除4s门店 // 删除4s门店
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!