Commit e8294ea7 by 王栋源

wdy

parent 8c639c74
......@@ -29,6 +29,7 @@ class UtilsTmOrderCallService extends AppServiceBase {
var getjsonurl=settings.tmtransactionUrl()+"/api/action/trademarktransaction"
var jsonurl=await this.restPostUrl(obj,getjsonurl);
if(!jsonurl){
console.log(jsonurl);
return system.getResultSuccess();
}
var upobj={
......@@ -43,7 +44,8 @@ class UtilsTmOrderCallService extends AppServiceBase {
var aliOssFileInfo = await this.execPostUrl(upobj, settings.aliossjavaUrl());
if (aliOssFileInfo == true) {
var fileUrl = params.filedir + "/" + params.objectName;
var fileUrl = rst.data.FileDir + "/" + jsonurl.data.name;
console.log(fileUrl)
return system.getResultSuccess(fileUrl);
}
......
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