member.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2018-2020 rights reserved.
  6. // +----------------------------------------------------------------------
  7. // |
  8. // +----------------------------------------------------------------------
  9. // | Date: 2020-08-30 14:41
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. //@用户列表
  13. Route::group('member', function () {
  14. //@列表
  15. Route::rule('list', 'Member/list');
  16. //添加编辑
  17. Route::rule('save', 'Member/save');
  18. //余额明细
  19. Route::rule('moneyDetail', 'Member/moneyDetail');
  20. //余额补扣
  21. Route::rule('moneyDetailSave', 'Member/moneyDetailSave');
  22. //用户详情
  23. Route::rule('item', 'Member/getItem');
  24. //交易列表
  25. Route::rule('payTradeList', 'Member/payTradeList');
  26. //支付查询
  27. Route::rule('searchPayTrade', 'Member/searchPayTrade');
  28. //@用户模板列表
  29. Route::rule('showTemplateList', 'Member/showTemplateList');
  30. //@从业人员列表
  31. Route::rule('getWorkerList', 'Member/getWorkerList');
  32. Route::rule('setAuthShow','Member/setAuthShow');
  33. Route::rule('workerSave', 'Member/workerSave');
  34. //获取文章列表
  35. Route::rule('getArticleList', 'ArticleController/getArticleList');
  36. //获取文章详情
  37. Route::rule('getArticleDetail', 'ArticleController/getArticleDetail');
  38. //添加文章
  39. Route::rule('addArticle', 'ArticleController/addArticle');
  40. //修改文章
  41. Route::rule('updateArticle', 'ArticleController/updateArticle');
  42. //删除文章
  43. Route::rule('deleteArticle', 'ArticleController/deleteArticle');
  44. })->middleware([
  45. \app\system\middleware\AllowOriginMiddleware::class,
  46. \app\system\middleware\AdminAuthTokenMiddleware::class,
  47. \app\system\middleware\AdminCkeckRoleMiddleware::class,
  48. ]);