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
a967b2f9
Commit
a967b2f9
authored
Sep 21, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
622577ac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
gsb-marketplat-mag/app/base/db/impl/aggregation/rotationchartDao.js
+12
-0
gsb-marketplat-mag/app/base/service/impl/aggregation/cycleproductSve.js
+1
-1
gsb-marketplat-mag/app/base/service/impl/aggregation/popularrecommendationSve.js
+1
-1
gsb-marketplat-mag/app/base/service/impl/aggregation/rotationchartSve.js
+2
-2
No files found.
gsb-marketplat-mag/app/base/db/impl/aggregation/rotationchartDao.js
0 → 100644
View file @
a967b2f9
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
RotationchartDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
RotationchartDao
));
}
orderBy
()
{
return
[[
"sequence"
,
"DESC"
],[
"created_at"
,
"DESC"
]];
}
}
module
.
exports
=
RotationchartDao
;
gsb-marketplat-mag/app/base/service/impl/aggregation/cycleproductSve.js
View file @
a967b2f9
...
...
@@ -13,7 +13,7 @@ class CycleproductService extends ServiceBase {
if
(
!
pobj
.
jump_link_type
)
{
return
system
.
getResultFail
(
-
104
,
"连接不能为空"
);
}
if
(
pobj
.
pic_describe
&&
pobj
.
pic_describe
.
length
>
19
)
{
if
(
pobj
.
pic_describe
&&
pobj
.
pic_describe
.
length
>
20
)
{
return
system
.
getResultFail
(
-
105
,
"图片描述最多20位字符"
);
}
return
system
.
getResultSuccess
(
this
.
dao
.
update
(
pobj
));
...
...
gsb-marketplat-mag/app/base/service/impl/aggregation/popularrecommendationSve.js
View file @
a967b2f9
...
...
@@ -14,7 +14,7 @@ class PopularrecommendationService extends ServiceBase {
if
(
!
pobj
.
jump_link_type
)
{
return
system
.
getResultFail
(
-
104
,
"连接不能为空"
);
}
if
(
pobj
.
pic_describe
&&
pobj
.
pic_describe
.
length
>
19
)
{
if
(
pobj
.
pic_describe
&&
pobj
.
pic_describe
.
length
>
20
)
{
return
system
.
getResultFail
(
-
105
,
"图片描述最多20位字符"
);
}
return
system
.
getResultSuccess
(
this
.
dao
.
update
(
pobj
));
...
...
gsb-marketplat-mag/app/base/service/impl/aggregation/rotationchartSve.js
View file @
a967b2f9
...
...
@@ -22,7 +22,7 @@ class RotationchartService extends ServiceBase {
if
(
!
pobj
.
jump_link_type
)
{
return
system
.
getResultFail
(
-
104
,
"连接不能为空"
);
}
if
(
pobj
.
name
&&
pobj
.
name
.
length
>
19
)
{
if
(
pobj
.
name
&&
pobj
.
name
.
length
>
20
)
{
return
system
.
getResultFail
(
-
105
,
"图片名称最多20位字符"
);
}
if
(
pobj
.
id
!==
1
)
{
...
...
@@ -44,7 +44,7 @@ class RotationchartService extends ServiceBase {
if
(
!
pobj
.
jump_link_type
)
{
return
system
.
getResultFail
(
-
104
,
"连接不能为空"
);
}
if
(
pobj
.
name
&&
pobj
.
name
.
length
>
19
)
{
if
(
pobj
.
name
&&
pobj
.
name
.
length
>
20
)
{
return
system
.
getResultFail
(
-
105
,
"图片名称最多20位字符"
);
}
if
(
pobj
.
id
!==
1
)
{
...
...
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