1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 'use strict';
- module.exports = app => {
- const { router, controller } = app;
- // 微信消息通知
- // router.post('/wx/wxMessage', controller.wxController.toWechat);
- // router.post('/wx/createMenu', controller.wxController.createMenu);
- //
- router.get('/wx/getUserInfo', controller.wxController.getUserInfo);
- // router.get('/wx/getSign', controller.wxController.getSign);
- // 微信提现
- router.post('/wx/promotion', controller.wxPayController.promotion);
- router.get('/wx/getOpenId', controller.wxController.oauth);
- router.get('/wx/getAppletOpenId', controller.wxController.getAppletOpenId);
- router.get('/wx/getAppId', controller.wxController.getAppidByCid);
- // 微信配置 (业务不需要对外暴露)
- // router.post('/wx/wxconfig/add', controller.wxConfigController.add);
- // router.post('/wx/wxconfig/update', controller.wxConfigController.update);
- //
- // router.get('/wx/wxconfig/one', controller.wxConfigController.one);
- // router.get('/wx/wxconfig/delete', controller.wxConfigController.delete);
- // router.get('/wx/wxconfig/list', controller.wxConfigController.list);
- // 微信端接口
- router.get('/wxinfo/isExist', controller.wxInfoController.isExist);
- router.get('/wxinfo/bing', controller.wxInfoController.bing);
- router.get('/wxinfo/unbind', controller.wxInfoController.unbind);
- router.post('/wxinfo/updatePwd', controller.wxInfoController.updatePwd);
- router.post('/wxinfo/add', controller.infoController.add);
- router.post('/wxinfo/update', controller.infoController.update);
- router.get('/wxinfo/one', controller.infoController.one);
- router.get('/wxinfo/delete', controller.infoController.delete);
- router.get('/wxinfo/list', controller.infoController.list);
- router.get('/wxinfo/listByOpenid', controller.infoController.listByOpenid);
- router.get('/wxinfo/listByFid', controller.infoController.listByFid);
- router.get('/wxinfo/listByNumber', controller.infoController.listByNumber);
- router.get('/wxinfo/userValue', controller.sysUserController.valueByUserOne);
- router.get('/visit/listByInfoId', controller.visitController.listByInfoId);
- router.get('/wxinfo/sumUserOne', controller.sysUserController.sumUserOne);
- // 国家行政区
- router.get('/civilregionalism/deptList', controller.civilregionalismController.deptList);
- // 微信端 探访查询
- router.get('/wxinfo/visitIsExist', controller.visitController.visitIsExist);
- router.get('/wxinfo/visitBing', controller.visitController.visitBing);
- router.get('/wxinfo/visitUnbind', controller.visitController.visitUnbind);
- router.get('/wxinfo/visitByNumber', controller.visitController.visitByNumber);
- router.get('/wxinfo/visitByFid', controller.infoController.visitByFid);
- // 小程序端 子女绑定
- router.get('/applet/appletVisitIsExist', controller.visitController.appletVisitIsExist);
- router.get('/applet/appletVisitBing', controller.visitController.appletVisitBing);
- router.get('/applet/appletVisitUnbind', controller.visitController.appletVisitUnbind);
- // 未按要求巡访的数据
- router.get('/wxinfo/noVisitList', controller.infoController.noVisitList);
- // 自主申报
- router.post('/wxinfo/ownerAdd', controller.infoController.ownerAdd);
- router.post('/wxinfo/ownerUpdate', controller.infoController.ownerUpdate);
- router.get('/wxinfo/findOwnerInfo', controller.infoController.findOwnerInfo);
- router.get('/wxinfo/ownerStatistics', controller.infoController.ownerStatistics); // 自主填报查询吉林省统计
- };
|