consult.js 1.15 KB
/**
 * 个人中心---我的咨询
 * @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) => {

};