consult.js
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* 个人中心---我的咨询
* @author chenxuan <xuan.chen@yoho.cn>
*/
// class consultController extends WebAction
// {
// /**
// * 我的咨询
// */
// public function indexAction()
// {
// $uid = $this->auditJumpLogin();
// $page = $this->get('page', 1);
// $consult = ConsultModel::ConsultList($uid, $page);
// //面包屑-左侧导航
// $path = UserModel::getCenterCrumb('我的咨询');
// $leftNav = UserModel::getCenterLeftNav('我的咨询', $uid);
// //头部导航
// $channel = Helpers::getChannelNameByCookie();
// $this->setWebNavHeader($channel);
// $data = array(
// 'path' => $path,
// 'userThumb' => UserModel::getUserHeadImg($uid),
// 'homeNav' => $leftNav,
// 'consults' => $consult['consults'],
// 'pager' => $consult['pager'],
// );
// $this->_view->display('consult', array('homeConsultPage' => false, 'consult' => $data));
// }
// }
'use strict';
const cookie = global.yoho.cookie;
const logger = global.yoho.logger;
exports.index = (req, res, next) => {
};