Commit 58a09103 by 庄冰

down logo

parent 0b44d73c
...@@ -93,8 +93,8 @@ class LogoOrderService { ...@@ -93,8 +93,8 @@ class LogoOrderService {
return system.getResultFail(-110,"获取logo材料失败。"); return system.getResultFail(-110,"获取logo材料失败。");
} }
async getLogoDownUrl(obj){ async getLogoDownUrl(obj){
var url = "api/transfer/tradeApi/closeOrder"; var url = "http://43.247.184.92:15501/api/downloadlogo";
var rtn = await this.execlient.execPost(obj, url); var rtn = await this.execClient.execPost(obj, url);
var a = JSON.parse(rtn.stdout) var a = JSON.parse(rtn.stdout)
return a; return a;
} }
......
...@@ -334,6 +334,12 @@ class OrderInfoService extends ServiceBase { ...@@ -334,6 +334,12 @@ class OrderInfoService extends ServiceBase {
if (!deliveryData.pic_url) { if (!deliveryData.pic_url) {
return system.getResult(null, "图标链接不能为空,20183"); return system.getResult(null, "图标链接不能为空,20183");
} }
if (!deliveryData.title) {
return system.getResult(null, "品牌名称不能为空,20184");
}
if (!deliveryData.subtitle) {
return system.getResult(null, "品牌标语不能为空,20183");
}
return system.getResultSuccess(deliveryData); return system.getResultSuccess(deliveryData);
} }
async createLogoOrder(pobj) { async createLogoOrder(pobj) {
......
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