Commit 3dc53b67 by 庄冰

logo

parent 61bda907
...@@ -447,7 +447,7 @@ class CenterorderService extends AppServiceBase { ...@@ -447,7 +447,7 @@ class CenterorderService extends AppServiceBase {
} }
//生成logo //生成logo
async singlelogo(pobj){ async singlelogo(pobj){
var reqUrl = "http://ailogo-service/api/singlelogo"; var reqUrl = "http://123.57.217.203:4724/api/singlelogo";
var obj = pobj.actionBody; var obj = pobj.actionBody;
if(!obj.title){ if(!obj.title){
return system.getResult(null,"品牌名称不能为空"); return system.getResult(null,"品牌名称不能为空");
...@@ -465,7 +465,7 @@ class CenterorderService extends AppServiceBase { ...@@ -465,7 +465,7 @@ class CenterorderService extends AppServiceBase {
try { try {
rtn = await this.execClient.execPost(obj, reqUrl); rtn = await this.execClient.execPost(obj, reqUrl);
var res = JSON.parse(rtn.stdout); var res = JSON.parse(rtn.stdout);
if(res && res.status==0 && res.data){ if(res && res.status==0 && res.data){ailogo
return res;//system.getResultSuccess(res.data); return res;//system.getResultSuccess(res.data);
}else{ }else{
return system.getResult(null,"生成logo操作失败"); return system.getResult(null,"生成logo操作失败");
......
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