Commit ddfa2302 by 宋毅

tj

parent d79be4e2
......@@ -2411,5 +2411,35 @@ class tmqueryApi extends ApiBase {
}
return System.getResult2(result,null);
}
//商标委托书模板下载
async downloadTmTrust(query, pobj) {
// nominee_company//委托公司
// commissioned_company //被委托公司
// authorized_address//被委托地址
// tm_name
// authorized_contact_person //被委托联系人
// authorized_contact_phone //被委托电话
// authorized_postal_code = params.get('postal_code') //被委托邮编
let obj = {
"assignor": pobj.nominee_company,
"tm_name": pobj.tm_name,
"address": pobj.authorized_address,
"company": pobj.commissioned_company,
"contact_person":pobj.authorized_address,
"contact_phone":pobj.authorized_contact_phone,
"postal_code":pobj.authorized_postal_code
};
let url = settings.apiconfig.tmTrustUrl();
let rc = System.getObject("util.execClient");
let rtn = null;
try {
rtn = await rc.execPost(obj, url);
let j = JSON.parse(rtn.stdout);
return j;
} catch (e) {
console.log(e);
return System.getResult2(null, null);
}
}
}
module.exports = tmqueryApi;
......@@ -53,33 +53,8 @@ var settings = {
opLogEsIsAdd: function () {
return 1;
},
zxyTransferAppId: function () {//智薪云应用id
// return "1103817785";//线上
// return "1108171693022142467";//bpo-ceshi
return "1129284115540267010";
},
zxyTransferMchtId: function () {//智薪云商户id
// return "1103817785420820481";//线上
// return "2";//bpo-ceshi
return "1127840460046393345";
},
zxyMainId: function () {//智薪云用户签约mainId ==签约主体id
// return "57731585";//线上
// return "3";//bpo-ceshi
return "57731587";
},
zxyAppSecretKey: function () {//智薪云appSecretKey
// return "ca47edd3ae8bac3f7a68d8126d891f52";//线上
// return "ef1cd7146c1234d47f6bb4e49edfe";//bpo-ceshi
return "ea4eafab8be1d0242399f39649bfabe0";
},
zxyUserSignUrl: function () {//智薪云用户签约接口地址
return "https://payadmin.gongsibao.com";//线上
// return "http://39.106.185.66:80";
},
zxyTransferUrl: function () {//智薪云转账接口地址
return "https://pay.gongsibao.com";//线上
// return "http://39.106.185.66:80";
tmTrustUrl: function () {//商标委托书
return "http://43.247.184.92:15503/gsb/tmtrust";
},
imageQueryKey: "4S3ypgaRq19bhKwB",
byslTmUrl: function () {
......
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