app.php 1016 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. use think\facade\Route;
  3. Route::rule('login', 'Account/login');//登录
  4. Route::rule('logout', 'Account/logout');//登出
  5. Route::rule('info', 'Account/info');//账户详情
  6. Route::rule('updatePassword', 'Account/updatePassword');//修改密码
  7. Route::rule('video', 'Common/getVideoList');//视频列表
  8. Route::rule('area', 'Common/area');//省市区编码
  9. Route::rule('theme', 'Common/theme');//手机主题
  10. //【地址】
  11. Route::rule('addrList', 'Addr/list');//列表
  12. Route::rule('addrAdd', 'Addr/add');//添加
  13. Route::rule('addrRead', 'Addr/read');//读取
  14. Route::rule('addrEdit', 'Addr/edit');//修改
  15. Route::rule('addrDelete', 'Addr/delete');//删除
  16. //【服务】
  17. Route::rule('serviceList', 'Service/list');//列表
  18. Route::rule('serviceRead', 'Service/read');//读取
  19. //【兑换商品】
  20. Route::rule('exchangeGoodList', 'Exchange/goodList');//商品列表
  21. Route::rule('exchangeGoodInfo', 'Exchange/goodInfo');//商品详情
  22. Route::rule('exchangeOrderAdd', 'Exchange/orderAdd');//兑换商品下单