Commit 57c4464e by 庄冰

subtitle

parent f72b80a7
......@@ -80,7 +80,7 @@ class LogoOrderService {
var logodownRes = await this.getLogoDownUrl({
"id": deliveryContent.logo_id,
"title": deliveryContent.title,
"subtitle": deliveryContent.subtitle
"subtitle": deliveryContent.subtitle || ""
});
if(logodownRes && logodownRes.status==0 && logodownRes.data && logodownRes.data.down_url){
deliveryContent.down_url = logodownRes.data.down_url;
......@@ -137,9 +137,9 @@ class LogoOrderService {
if(!ab.title){
return system.getResultFail(-105,"品牌名称不能为空");
}
if(!ab.subtitle){
return system.getResultFail(-106,"品牌标语不能为空");
}
// if(!ab.subtitle){
// return system.getResultFail(-106,"品牌标语不能为空");
// }
if(!ab.profession){
return system.getResultFail(-107,"行业名称不能为空");
}
......
......@@ -338,9 +338,9 @@ class OrderInfoService extends ServiceBase {
if (!deliveryData.title) {
return system.getResult(null, "品牌名称不能为空,20184");
}
if (!deliveryData.subtitle) {
return system.getResult(null, "品牌标语不能为空,20183");
}
// if (!deliveryData.subtitle) {
// return system.getResult(null, "品牌标语不能为空,20183");
// }
return system.getResultSuccess(deliveryData);
}
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