Authored by zhangxiaoru

接口更改

... ... @@ -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
... ...
... ... @@ -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) => {
... ...