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
5171a554
Commit
5171a554
authored
Jul 16, 2020
by
DESKTOP-7Q3CA17\86137
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
ae7b0e9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
bpo-stat/app/base/controller/impl/all/merchantCtl.js
+0
-4
bpo-stat/app/base/service/impl/all/merchantSve.js
+5
-1
No files found.
bpo-stat/app/base/controller/impl/all/merchantCtl.js
View file @
5171a554
...
@@ -25,10 +25,6 @@ class MerchantCtl extends CtlBase {
...
@@ -25,10 +25,6 @@ class MerchantCtl extends CtlBase {
var
params
=
qobj
||
{};
var
params
=
qobj
||
{};
try
{
try
{
var
page
=
await
this
.
service
.
merchantInfo
(
params
);
var
page
=
await
this
.
service
.
merchantInfo
(
params
);
if
(
page
)
{
this
.
handleDate
(
page
,
[
"begin_time"
,
"invalid_time"
],
"YYYY-MM-DD"
);
}
return
system
.
getResult2
(
page
);
return
system
.
getResult2
(
page
);
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
...
...
bpo-stat/app/base/service/impl/all/merchantSve.js
View file @
5171a554
...
@@ -57,7 +57,11 @@ class MerchantService extends ServiceBase {
...
@@ -57,7 +57,11 @@ class MerchantService extends ServiceBase {
if
(
!
params
.
id
)
{
if
(
!
params
.
id
)
{
return
system
.
getResultFail
(
-
1
,
"id不能为空"
);
return
system
.
getResultFail
(
-
1
,
"id不能为空"
);
}
}
return
await
this
.
dao
.
merchantInfo
({
id
:
params
.
id
,
sign_body_id
:
params
.
sign_body_id
});
var
page
=
await
this
.
dao
.
merchantInfo
({
id
:
params
.
id
,
sign_body_id
:
params
.
sign_body_id
});
if
(
page
)
{
this
.
handleDate
(
page
,
[
"begin_time"
,
"invalid_time"
],
"YYYY-MM-DD"
);
}
return
page
;
}
}
...
...
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