Commit 487bdb90 by 张晓玮

Merge branch 'feature/584/zxw' into 'SAAS+V5.8.4'

客户管理请求服务判断修改

See merge request !863
2 parents a2b660db 54781744
...@@ -5,34 +5,34 @@ ...@@ -5,34 +5,34 @@
const API_NAME_MAPPING = { const API_NAME_MAPPING = {
"dj.smartcarlife": "axios", "dj.smartcarlife": "axios",
dj: "axios", "dj": "axios",
scrm: "axios2", "scrm": "axios2",
merchants: "axios3", "merchants": "axios3",
reportExport: "axios4", "reportExport": "axios4",
"glsx.accounts.biz.common.pictureUpload": "common", "glsx.accounts.biz.common.pictureUpload": "common",
clue: "axios5", "clue": "axios5",
"dj.businessSchool": "axios6", "dj.businessSchool": "axios6",
script: "axios7", "script": "axios7",
staff: "axios9", "staff": "axios9",
riskmanage: "axios10", "riskmanage": "axios10",
strategy: "axios_strategy", "strategy": "axios_strategy",
supervisor: "axios_supervisor", "supervisor": "axios_supervisor",
oaapproval: "axios_oaapproval", "oaapproval": "axios_oaapproval",
taskcenter: "axiosTaskCenter", "taskcenter": "axiosTaskCenter",
}; };
const SIGN_WAY = { const SIGN_WAY = {
"dj.smartcarlife": "sha1", "dj.smartcarlife": "sha1",
dj: "sha1", "dj": "sha1",
scrm: "sha1", "scrm": "sha1",
glsx: "md5", "glsx": "md5",
"glsx.accounts.biz.common.pictureUpload": "md5", "glsx.accounts.biz.common.pictureUpload": "md5",
clue: "sha1", "clue": "sha1",
script: "sha1", "script": "sha1",
staff: "sha1", "staff": "sha1",
riskmanage: "sha1", "riskmanage": "sha1",
oaapproval: "sha1", "oaapproval": "sha1",
taskcenter: "sha1", "taskcenter": "sha1",
}; };
/** /**
...@@ -77,7 +77,7 @@ function resolveApiName(method = "") { ...@@ -77,7 +77,7 @@ function resolveApiName(method = "") {
if (method.includes("dj.api.taskcenter")) { if (method.includes("dj.api.taskcenter")) {
return "taskcenter"; return "taskcenter";
} }
if (method.includes("merchants.api.open.createMerchantWithPermissions")) { if (method.includes("merchants.api.open.createMerchantWithPermissions") || method.includes("merchants.api.oaapproval")) {
return "oaapproval"; return "oaapproval";
} }
if (method.includes("dj.api.marketing")) { if (method.includes("dj.api.marketing")) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!