Commit e08e2f0c by 任晓松

update

parent a848923d
...@@ -69,8 +69,16 @@ class ToolService extends AppServiceBase { ...@@ -69,8 +69,16 @@ class ToolService extends AppServiceBase {
} }
//工商核名 //工商核名
async icheming(queryobj, req) { async icheming(queryobj, req) {
var url = this.zcApiUrl + "api/trademark/tmqueryApi/icheming"; let url = settings.icNameUrl() + 'openPlatform/ic/match';
return await this.opReqResult(url, queryobj, req); let obj = {
cityname: queryobj.cityName, //注册城市地区
keyword: queryobj.keyWord, //公司字号
btname: queryobj.industryType, //行业类型
orgname: queryobj.organizationType, //组织类型
appkey: "5b29981785bd4272966b15ad8e8b9dd3"
};
let result = await this.restPostUrl(obj, url);
return system.getResultSuccess(result);
} }
//尼斯过滤 //尼斯过滤
async getTmNclFilterSearch(queryobj, req) { async getTmNclFilterSearch(queryobj, req) {
......
...@@ -21,7 +21,7 @@ class dingClient { ...@@ -21,7 +21,7 @@ class dingClient {
//渠道钉钉提醒 //渠道钉钉提醒
async gatewayPushByChannel(orderNo,appInfo){ async gatewayPushByChannel(orderNo,appInfo){
let gatewayUrl = setttings.dingRobotUrl(appInfo.uapp_id); let gatewayUrl = setttings.dingRobotUrl(appInfo.uapp_id);
if (process.env.APP_ENV === "prod" && gatewayUrl) { if (process.env.APP_ENV != "dev" && gatewayUrl) {
let c = `注意提醒:${appInfo.app_name}->有订单待处理,订单号${orderNo},老板们加油,加油,加油 !!!` let c = `注意提醒:${appInfo.app_name}->有订单待处理,订单号${orderNo},老板们加油,加油,加油 !!!`
let t = new Date().toLocaleString() let t = new Date().toLocaleString()
this.execClient.execPost({ this.execClient.execPost({
......
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