Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
57c4464e
Commit
57c4464e
authored
May 06, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subtitle
parent
f72b80a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
center-order/app/base/service/impl/dbcorder/logoOrderSve.js
+4
-4
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+3
-3
No files found.
center-order/app/base/service/impl/dbcorder/logoOrderSve.js
View file @
57c4464e
...
@@ -80,7 +80,7 @@ class LogoOrderService {
...
@@ -80,7 +80,7 @@ class LogoOrderService {
var
logodownRes
=
await
this
.
getLogoDownUrl
({
var
logodownRes
=
await
this
.
getLogoDownUrl
({
"id"
:
deliveryContent
.
logo_id
,
"id"
:
deliveryContent
.
logo_id
,
"title"
:
deliveryContent
.
title
,
"title"
:
deliveryContent
.
title
,
"subtitle"
:
deliveryContent
.
subtitle
"subtitle"
:
deliveryContent
.
subtitle
||
""
});
});
if
(
logodownRes
&&
logodownRes
.
status
==
0
&&
logodownRes
.
data
&&
logodownRes
.
data
.
down_url
){
if
(
logodownRes
&&
logodownRes
.
status
==
0
&&
logodownRes
.
data
&&
logodownRes
.
data
.
down_url
){
deliveryContent
.
down_url
=
logodownRes
.
data
.
down_url
;
deliveryContent
.
down_url
=
logodownRes
.
data
.
down_url
;
...
@@ -137,9 +137,9 @@ class LogoOrderService {
...
@@ -137,9 +137,9 @@ class LogoOrderService {
if
(
!
ab
.
title
){
if
(
!
ab
.
title
){
return
system
.
getResultFail
(
-
105
,
"品牌名称不能为空"
);
return
system
.
getResultFail
(
-
105
,
"品牌名称不能为空"
);
}
}
if
(
!
ab
.
subtitle
){
//
if(!ab.subtitle){
return
system
.
getResultFail
(
-
106
,
"品牌标语不能为空"
);
//
return system.getResultFail(-106,"品牌标语不能为空");
}
//
}
if
(
!
ab
.
profession
){
if
(
!
ab
.
profession
){
return
system
.
getResultFail
(
-
107
,
"行业名称不能为空"
);
return
system
.
getResultFail
(
-
107
,
"行业名称不能为空"
);
}
}
...
...
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
57c4464e
...
@@ -338,9 +338,9 @@ class OrderInfoService extends ServiceBase {
...
@@ -338,9 +338,9 @@ class OrderInfoService extends ServiceBase {
if
(
!
deliveryData
.
title
)
{
if
(
!
deliveryData
.
title
)
{
return
system
.
getResult
(
null
,
"品牌名称不能为空,20184"
);
return
system
.
getResult
(
null
,
"品牌名称不能为空,20184"
);
}
}
if
(
!
deliveryData
.
subtitle
)
{
//
if (!deliveryData.subtitle) {
return
system
.
getResult
(
null
,
"品牌标语不能为空,20183"
);
//
return system.getResult(null, "品牌标语不能为空,20183");
}
//
}
return
system
.
getResultSuccess
(
deliveryData
);
return
system
.
getResultSuccess
(
deliveryData
);
}
}
async
createLogoOrder
(
pobj
)
{
async
createLogoOrder
(
pobj
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment