Commit 7c63c804 by 宋毅

tj

parent d30d6203
...@@ -126,6 +126,14 @@ class UtilsTmAliyunService extends AppServiceBase { ...@@ -126,6 +126,14 @@ class UtilsTmAliyunService extends AppServiceBase {
this.opAliyunRpcReq(pobj, params); this.opAliyunRpcReq(pobj, params);
} }
// async closeTrademarkApplication(){
// var params = {
// action: "CloseTrademarkApplication",
// reqbody: { ParentCode: parentCode },
// rpcParam: rpcParam
// }
// }
async getAliOssFileUrl(pobj, fileType, selfFileUrl, rpcParam) { async getAliOssFileUrl(pobj, fileType, selfFileUrl, rpcParam) {
var fileUrl = ""; var fileUrl = "";
var resultInfo = await this.getAliOssInfo(pobj, fileType, rpcParam); var resultInfo = await this.getAliOssInfo(pobj, fileType, rpcParam);
......
...@@ -14,7 +14,7 @@ module.exports = function (app) { ...@@ -14,7 +14,7 @@ module.exports = function (app) {
logCtl.info({ logCtl.info({
optitle: (new Date()).Format("yyyy-MM-dd hh:mm:ss") + "aliPayNotify记录回调", optitle: (new Date()).Format("yyyy-MM-dd hh:mm:ss") + "aliPayNotify记录回调",
op: "center-channel/tlpay/aliPayNotify", op: "center-channel/tlpay/aliPayNotify",
content: "回调参数:" + JSON.stringify(req.body), content: "回调参数:body=" + JSON.stringify(req.body) + ",query=" + JSON.stringify(req.query),
clientIp: client_ip || "" clientIp: client_ip || ""
}); });
// if (result.status != 0) { // if (result.status != 0) {
...@@ -25,7 +25,7 @@ module.exports = function (app) { ...@@ -25,7 +25,7 @@ module.exports = function (app) {
logCtl.error({ logCtl.error({
optitle: (new Date()).Format("yyyy-MM-dd hh:mm:ss") + "aliPayNotify记录回调异常", optitle: (new Date()).Format("yyyy-MM-dd hh:mm:ss") + "aliPayNotify记录回调异常",
op: "center-channel/tlpay/aliPayNotify", op: "center-channel/tlpay/aliPayNotify",
content: "回调参数:" + JSON.stringify(req.body) + "error:" + error.stack, content: "回调参数:req=" + JSON.stringify(req) + "error:" + error.stack,
clientIp: client_ip || "" clientIp: client_ip || ""
}); });
} }
......
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