Showing
2 changed files
with
5 additions
and
5 deletions
@@ -626,9 +626,9 @@ const repayDetail = (req, res, next) => { | @@ -626,9 +626,9 @@ const repayDetail = (req, res, next) => { | ||
626 | 626 | ||
627 | // 帮助静态页面 | 627 | // 帮助静态页面 |
628 | const help = (req, res, next) => { | 628 | const help = (req, res, next) => { |
629 | - let category_id = 146; | 629 | + let id = 1010; |
630 | 630 | ||
631 | - installmentModel.getHelpDetail(category_id).then((result) => { | 631 | + installmentModel.getHelpDetail(id).then((result) => { |
632 | res.render('installment/help', { | 632 | res.render('installment/help', { |
633 | title: '分期支付帮助中心', | 633 | title: '分期支付帮助中心', |
634 | helpdetail_list: result.helpdetail_list | 634 | helpdetail_list: result.helpdetail_list |
@@ -540,10 +540,10 @@ const getNotices = () => { | @@ -540,10 +540,10 @@ const getNotices = () => { | ||
540 | }; | 540 | }; |
541 | 541 | ||
542 | // 帮助中心 | 542 | // 帮助中心 |
543 | -const getHelpDetail = (category_id) => { | 543 | +const getHelpDetail = (id) => { |
544 | return api.get('', { | 544 | return api.get('', { |
545 | - method: 'web.help.getHelpDetailList', | ||
546 | - category_id: category_id | 545 | + method: 'app.helper.detail', |
546 | + id: id | ||
547 | }, { | 547 | }, { |
548 | cache: true | 548 | cache: true |
549 | }).then((result) => { | 549 | }).then((result) => { |
-
Please register or login to post a comment