Explorar o código

支付审批详细页路由补充

laiguoran %!s(int64=2) %!d(string=hai) anos
pai
achega
918822238c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      app/router.js

+ 4 - 1
app/router.js

@@ -705,7 +705,10 @@ module.exports = app => {
     app.post('/budget/:id/decimal', sessionAuth, budgetCheck, 'budgetController.decimal');
 
     // 支付审批
-    // app.get('/payment/:rid/detail/:id', sessionAuth, 'paymentController.detail');
+    // app.get('/payment', sessionAuth, 'paymentController.index');
+    // app.post('/payment/permission/save', sessionAuth, 'paymentController.permissionSave');
+    app.get('/payment/:rid/detail/:id', sessionAuth, 'paymentController.detail');
+    // app.post('/payment/save', sessionAuth, 'paymentController.save');
 
     // 企业微信回调
     app.get('/wx/work/callback/command', 'wechatController.command');