Commit 9336ef6b by 宋毅

增加日志

parent f2c7e26a
......@@ -192,7 +192,7 @@ module.exports = SignService;
// };
// //需求
// var obj={
// "intentionBizId": "baidu_test_00083",
// "intentionBizId": "baidu_test_00085",
// "phone": "18506013355",
// "userName": "测试03",
// "description": "测试03描述",
......
......@@ -115,8 +115,9 @@ class UtilsFqAliyunService extends AppServiceBase {
var rc = system.getObject("util.aliyunClient");
var rtn = await rc.post(url, key, secret, params);
this.execClientNew.execLogs(`utilsFqAliyunSve-opAliyunClientPost-result:url=${url}`, pobj, "center-channel-opAliyunClientPost", rtn, null);
if (rtn.success == true && rtn.code == 200) {
console.log(rtn,".....................opAliyunClientPost.........................11111111......")
console.log(JSON.stringify(rtn),".....................opAliyunClientPost............22222...................")
if (rtn.success && rtn.code == 200) {
return system.getResultSuccess(rtn.data, "推送成功");
} else {
return system.getResultFail(-1, `推送失败,失败原因:${JSON.stringify(rtn)}`);
......
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