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
50205bc6
Commit
50205bc6
authored
Aug 08, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
img
parent
b6959dd1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gsb-marketplat/app/base/controller/ctl.base.js
+1
-1
gsb-marketplat/app/base/controller/impl/configmag/imginfoCtl.js
+5
-0
No files found.
gsb-marketplat/app/base/controller/ctl.base.js
View file @
50205bc6
...
@@ -26,7 +26,7 @@ class CtlBase {
...
@@ -26,7 +26,7 @@ class CtlBase {
}
}
async
bulkDelete
(
ids
)
{
async
bulkDelete
(
ids
)
{
var
en
=
await
this
.
service
.
bulkDelete
(
ids
);
var
en
=
await
this
.
service
.
bulkDelete
(
ids
);
return
en
;
return
system
.
getResult
(
en
)
;
}
}
async
findAndCountAll
(
pobj
,
qobj
,
req
)
{
async
findAndCountAll
(
pobj
,
qobj
,
req
)
{
//设置查询条件
//设置查询条件
...
...
gsb-marketplat/app/base/controller/impl/configmag/imginfoCtl.js
View file @
50205bc6
...
@@ -6,5 +6,10 @@ class ImgInfoCtl extends CtlBase {
...
@@ -6,5 +6,10 @@ class ImgInfoCtl extends CtlBase {
constructor
()
{
constructor
()
{
super
(
"configmag"
,
CtlBase
.
getServiceName
(
ImgInfoCtl
));
super
(
"configmag"
,
CtlBase
.
getServiceName
(
ImgInfoCtl
));
}
}
async
create
(
pobj
,
qobj
,
req
)
{
pobj
.
company_id
=
req
&&
req
.
xctx
&&
req
.
xctx
.
companyid
?
req
.
xctx
.
companyid
:
""
;
const
up
=
await
this
.
service
.
create
(
pobj
);
return
system
.
getResult
(
up
);
}
}
}
module
.
exports
=
ImgInfoCtl
;
module
.
exports
=
ImgInfoCtl
;
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