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
ac1a3a06
Commit
ac1a3a06
authored
Jun 30, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正 response
parent
ab6b77e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
esign-admin/app/base/controller/impl/product/productCtl.js
+10
-10
No files found.
esign-admin/app/base/controller/impl/product/productCtl.js
View file @
ac1a3a06
...
@@ -22,45 +22,45 @@ class ProductCtl extends CtlBase {
...
@@ -22,45 +22,45 @@ class ProductCtl extends CtlBase {
async
getPage
(
pobj
,
pobj2
,
req
)
{
async
getPage
(
pobj
,
pobj2
,
req
)
{
try
{
try
{
let
res
=
await
this
.
prodSve
.
getPage
(
pobj
)
let
res
=
await
this
.
prodSve
.
getPage
(
pobj
)
return
system
.
getResultSuccess
(
res
)
return
res
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
err
,
message
)
return
system
.
getResultFail
(
500
,
err
.
message
)
}
}
}
}
async
getAllDic
(
pobj
,
pobj2
,
req
)
{
async
getAllDic
(
pobj
,
pobj2
,
req
)
{
try
{
try
{
let
res
=
await
this
.
prodSve
.
getAllDic
(
pobj
)
let
res
=
await
this
.
prodSve
.
getAllDic
(
pobj
)
return
system
.
getResultSuccess
(
res
)
return
res
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
err
,
message
)
return
system
.
getResultFail
(
500
,
err
.
message
)
}
}
}
}
async
getByIds
(
pobj
,
pobj2
,
req
)
{
async
getByIds
(
pobj
,
pobj2
,
req
)
{
try
{
try
{
let
res
=
await
this
.
prodSve
.
getByIds
(
pobj
)
let
res
=
await
this
.
prodSve
.
getByIds
(
pobj
)
return
system
.
getResultSuccess
(
res
)
return
res
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
err
,
message
)
return
system
.
getResultFail
(
500
,
err
.
message
)
}
}
}
}
async
getItems
(
pobj
,
pobj2
,
req
)
{
async
getItems
(
pobj
,
pobj2
,
req
)
{
try
{
try
{
let
res
=
await
this
.
prodSve
.
getItems
(
pobj
)
let
res
=
await
this
.
prodSve
.
getItems
(
pobj
)
return
system
.
getResultSuccess
(
res
)
return
res
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
err
,
message
)
return
system
.
getResultFail
(
500
,
err
.
message
)
}
}
}
}
async
createOrUpdate
(
pobj
,
pobj2
,
req
)
{
async
createOrUpdate
(
pobj
,
pobj2
,
req
)
{
try
{
try
{
let
res
=
await
this
.
prodSve
.
createOrUpdate
(
pobj
)
let
res
=
await
this
.
prodSve
.
createOrUpdate
(
pobj
)
return
system
.
getResultSuccess
(
res
)
return
res
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
err
,
message
)
return
system
.
getResultFail
(
500
,
err
.
message
)
}
}
}
}
}
}
...
...
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