app.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. Route::rule('getPrepayId', 'Common/getPrepayId');//微信支付预下单
  10. //【公共】
  11. Route::rule('video', 'Common/getVideoList');//视频列表
  12. Route::rule('area', 'Common/area');//省市区编码
  13. Route::rule('theme', 'Common/theme');//手机主题
  14. //【地址】
  15. Route::rule('addrList', 'Addr/list');//列表
  16. Route::rule('addrAdd', 'Addr/add');//添加
  17. Route::rule('addrRead', 'Addr/read');//读取
  18. Route::rule('addrEdit', 'Addr/edit');//修改
  19. Route::rule('addrDelete', 'Addr/delete');//删除
  20. //【服务和商品】
  21. Route::rule('serviceList', 'Service/list');//服务列表
  22. Route::rule('serviceRead', 'Service/read');//服务详情
  23. Route::rule('serviceOrderList', 'Service/orderList');//服务订单列表
  24. Route::rule('serviceOrderInfo', 'Service/orderInfo');//服务订单详情
  25. Route::rule('exchangeGoodList', 'Exchange/goodList');//兑换商品列表
  26. Route::rule('exchangeGoodInfo', 'Exchange/goodInfo');//兑换商品详情
  27. Route::rule('shoppingGoodList', 'Shopping/goodList');//商城商品列表
  28. Route::rule('shoppingGoodInfo', 'Shopping/goodInfo');//商城商品详情
  29. //【订单】
  30. Route::rule('orderAdd', 'Order/add');//兑换商品下单
  31. Route::rule('orderList', 'Order/list');//订单列表
  32. Route::rule('orderInfo', 'Order/info');//订单详情