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
b6959dd1
Commit
b6959dd1
authored
Aug 07, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic manage
parent
d4f5496b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
gsb-marketplat/app/base/service/impl/configmag/imginfoSve.js
+16
-0
gsb-marketplat/app/base/service/impl/imageinfo/imageInfoSve.js
+19
-0
No files found.
gsb-marketplat/app/base/service/impl/configmag/imginfoSve.js
0 → 100644
View file @
b6959dd1
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
);
const
settings
=
require
(
"../../../../config/settings"
);
class
ImginfoService
extends
ServiceBase
{
constructor
()
{
super
(
"common"
,
ServiceBase
.
getDaoName
(
ImginfoService
));
}
async
create
(
pobj
){
var
code
=
await
this
.
getBusUid
(
"img"
);
pobj
.
code
=
code
;
return
this
.
dao
.
create
(
pobj
);
}
}
module
.
exports
=
ImginfoService
;
\ No newline at end of file
gsb-marketplat/app/base/service/impl/imageinfo/imageInfoSve.js
0 → 100644
View file @
b6959dd1
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
);
const
settings
=
require
(
"../../../../config/settings"
);
class
TemplateinfoService
extends
ServiceBase
{
constructor
()
{
super
(
"common"
,
ServiceBase
.
getDaoName
(
TemplateinfoService
));
}
async
createTemplate
(
pobj
){
var
ab
=
pobj
.
actionBody
;
var
code
=
await
this
.
getBusUid
(
"tp"
);
var
name
=
"营销模板"
;
ab
.
code
=
code
;
ab
.
name
=
name
;
return
this
.
create
(
ab
);
}
}
module
.
exports
=
TemplateinfoService
;
\ No newline at end of file
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