Commit 10c89257 by sxy

feat: 商机更多接口

parent 47725d93
......@@ -51,7 +51,7 @@ class FgbusinesschanceAPI extends WEBBase {
case "updateStatus"://更新商机跟进状态
opResult = await this.utilsFgbusinesschancSve.updateStatus(pobj, pobj.actionBody);
break;
case "getMoreInfoUrl":// 更多客户信息链接地址--TODO:模拟
case "getMoreInfoUrl":// 更多客户信息链接地址
opResult = await this.utilsFgbusinesschancSve.getMoreInfoUrl(pobj, pobj.actionBody);
break
default:
......
......@@ -160,18 +160,9 @@ class UtilsFgbusinesschancService extends AppServiceBase {
if (!actionBody.companyName) {
return system.getResult(null, "actionBody.companyName can not be empty,100290");
}
// var url = settings.entProfileUrl() + "?";
// var reqParam = {
// companyName: actionBody.companyName
// }
// var result = await this.restPostWithHValueUrl(reqParam, url);
// let code = result.code || result.status
// if (code !== 200 && code !== 0) {
// return system.getResult(null, result.message || result.msg || "req is error");
// }
// return system.getResultSuccess(result.data);
var url = settings.entProfileUrl() + `#/abc?companyName=${actionBody.companyName}`;
return system.getResultSuccess({
url: "https://www.gongsibao.com"
url: encodeURI(url)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment