Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2017-06-12 17:00:09 +0800
Commit
a273ae5c96bc6c89b86306e18c9813f91045d1b5
2 parents
c0232bb0
3b5fa3c1
Merge branch 'feature/installment' into 'release/5.8'
接口更改 See merge request
!651
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
apps/home/controllers/installment.js
apps/home/models/installment.js
apps/home/controllers/installment.js
View file @
a273ae5
...
...
@@ -626,9 +626,9 @@ const repayDetail = (req, res, next) => {
// 帮助静态页面
const
help
=
(
req
,
res
,
next
)
=>
{
let
category_id
=
146
;
let
id
=
1010
;
installmentModel
.
getHelpDetail
(
category_
id
).
then
((
result
)
=>
{
installmentModel
.
getHelpDetail
(
id
).
then
((
result
)
=>
{
res
.
render
(
'installment/help'
,
{
title
:
'分期支付帮助中心'
,
helpdetail_list
:
result
.
helpdetail_list
...
...
apps/home/models/installment.js
View file @
a273ae5
...
...
@@ -540,10 +540,10 @@ const getNotices = () => {
};
// 帮助中心
const
getHelpDetail
=
(
category_
id
)
=>
{
const
getHelpDetail
=
(
id
)
=>
{
return
api
.
get
(
''
,
{
method
:
'web.help.getHelpDetailList'
,
category_id
:
category_id
method
:
'app.helper.detail'
,
id
:
id
},
{
cache
:
true
}).
then
((
result
)
=>
{
...
...
Please
register
or
login
to post a comment