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
9f77482d
Commit
9f77482d
authored
Aug 11, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaaa
parent
549a6a39
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
gsb-marketplat/app/base/controller/impl/templatemag/templateinfoCtl.js
+8
-0
gsb-marketplat/app/base/service/impl/configmag/maininfoSve.js
+2
-2
gsb-marketplat/app/base/service/impl/template/templateinfoSve.js
+1
-2
No files found.
gsb-marketplat/app/base/controller/impl/templatemag/templateinfoCtl.js
View file @
9f77482d
...
...
@@ -34,6 +34,14 @@ class TemplateinfoCtl extends CtlBase {
let
result
=
await
this
.
templateinfoSve
.
editTemplateTdk
(
pobj
);
return
result
;
}
/**
* 修改启用状态
* @param {*} pobj
*/
async
updateSwitchStatus
(
pobj
){
let
result
=
await
this
.
templateinfoSve
.
updateSwitchStatus
(
pobj
);
return
result
;
}
}
module
.
exports
=
TemplateinfoCtl
;
gsb-marketplat/app/base/service/impl/configmag/maininfoSve.js
View file @
9f77482d
...
...
@@ -7,8 +7,8 @@ class MaininfoService extends ServiceBase {
}
async
create
(
pobj
){
var
code
=
await
this
.
getBusUid
(
"main"
);
pobj
.
code
=
code
;
//
var code = await this.getBusUid("main");
//
pobj.code = code;
return
this
.
dao
.
create
(
pobj
);
}
}
...
...
gsb-marketplat/app/base/service/impl/template/templateinfoSve.js
View file @
9f77482d
...
...
@@ -83,8 +83,7 @@ class TemplateinfoService extends ServiceBase {
* @param {*} pobj
*/
async
updateSwitchStatus
(
pobj
){
var
ab
=
pobj
.
actionBody
;
var
xctx
=
pobj
.
xctx
;
var
ab
=
pobj
;
if
(
!
ab
){
return
system
.
getResultFail
(
-
100
,
"参数错误"
);
}
...
...
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