app.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. use think\facade\Route;
  3. //【账户】
  4. Route::rule('login', 'Account/login');//登录
  5. Route::rule('logout', 'Account/logout');//登出
  6. Route::rule('info', 'Account/info');//账户详情
  7. Route::rule('updatePassword', 'Account/updatePassword');//修改密码
  8. Route::rule('bindAccountByCode', 'Account/bindAccountByCode');//通过微信端code绑定账户
  9. //【支付】
  10. Route::rule('getPrepayId', 'Pay/getPrepayId');//微信支付预下单
  11. Route::rule('notify', 'Pay/Notify');//微信支付成功后的异步通知及订单处理
  12. Route::rule('checkPayResult', 'Pay/checkPayResult');//检查支付结果
  13. //【公共】
  14. Route::rule('video', 'Common/getVideoList');//视频列表
  15. Route::rule('area', 'Common/area');//省市区编码
  16. Route::rule('theme', 'Common/theme');//手机主题
  17. //【地址】
  18. Route::rule('addrList', 'Addr/list');//列表
  19. Route::rule('addrAdd', 'Addr/add');//添加
  20. Route::rule('addrRead', 'Addr/read');//读取
  21. Route::rule('addrEdit', 'Addr/edit');//修改
  22. Route::rule('addrDelete', 'Addr/delete');//删除
  23. //【服务和商品】
  24. Route::rule('serviceList', 'Service/list');//服务列表
  25. Route::rule('serviceRead', 'Service/read');//服务详情
  26. Route::rule('serviceOrderList', 'Service/orderList');//服务订单列表
  27. Route::rule('serviceOrderInfo', 'Service/orderInfo');//服务订单详情
  28. Route::rule('exchangeGoodList', 'Exchange/goodList');//兑换商品列表
  29. Route::rule('exchangeGoodInfo', 'Exchange/goodInfo');//兑换商品详情
  30. Route::rule('shoppingGoodList', 'Shopping/goodList');//商城商品列表
  31. Route::rule('shoppingGoodInfo', 'Shopping/goodInfo');//商城商品详情
  32. //【订单】
  33. Route::rule('orderAdd', 'Order/add');//兑换商品下单
  34. Route::rule('orderList', 'Order/list');//订单列表
  35. Route::rule('orderInfo', 'Order/info');//订单详情