Commit 57717f0f by lixinming

no message

parent de2d7592
......@@ -110,8 +110,9 @@ export async function keynoteList(fuHuaQiUscc:string, str:string, labels) {
dataList.push({
enterpriseName:item.name,
label,
isFollow:item.follow,
dynamicsCount:dynamicsMap[item.uscc]
isFollow:item.follow== true,
dynamicsCount:dynamicsMap[item.uscc] || 0,
uscc:item.uscc
});
});
......
......@@ -4,20 +4,20 @@
import * as asyncHandler from 'express-async-handler';
import { eccReqParamater } from '../../util/verificationParam';
import { checkFuHuaQiToken } from '../../middleware/user';
import { checkGuanWeiHuiMobileToken } from '../../middleware/user';
import * as visitBiz from '../../biz/mobileFuHuaQi/visit';
export function setRouter(httpServer) {
httpServer.post('/guanweihui/visit/calendar/statis', checkFuHuaQiToken, asyncHandler(gwh_visit_alendar_statis));
httpServer.post('/guanweihui/visit/calendar/list', checkFuHuaQiToken, asyncHandler(gwh_visit_calendar_list));
httpServer.post('/guanweihui/visit/add', checkFuHuaQiToken, asyncHandler(gwh_visit_add));
httpServer.post('/guanweihui/visit/info', checkFuHuaQiToken, asyncHandler(gwh_visit_info));
httpServer.post('/guanweihui/visit/update/state', checkFuHuaQiToken, asyncHandler(gwh_visit_update_state));
httpServer.post('/guanweihui/visit/log/statis', checkFuHuaQiToken, asyncHandler(gwh_visit_log_statis));
httpServer.post('/guanweihui/visit/log/list', checkFuHuaQiToken, asyncHandler(gwh_visit_log_list));
httpServer.post('/guanweihui/visit/calendar/statis', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_alendar_statis));
httpServer.post('/guanweihui/visit/calendar/list', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_calendar_list));
httpServer.post('/guanweihui/visit/add', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_add));
httpServer.post('/guanweihui/visit/info', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_info));
httpServer.post('/guanweihui/visit/update/state', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_update_state));
httpServer.post('/guanweihui/visit/log/statis', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_log_statis));
httpServer.post('/guanweihui/visit/log/list', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_log_list));
//首页
httpServer.post('/guanweihui/visit/home/statis', checkFuHuaQiToken, asyncHandler(gwh_visit_home_statis));//新加
httpServer.post('/guanweihui/visit/home/statis', checkGuanWeiHuiMobileToken, asyncHandler(gwh_visit_home_statis));//新加
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment