route.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. /**
  3. * route.php UTF-8
  4. * 小程序接口文档
  5. *
  6. * @date : 2018/8/14 10:43
  7. *
  8. * @license 这不是一个自由软件,未经授权不许任何使用和传播。
  9. * @author : wuyonghong <wyh@huosdk.com>
  10. * @version : HuoMp 1.0
  11. */
  12. return [
  13. /* 玩家 */
  14. 'mp/wx/login$' => 'api/Oauth/callbackWeixin',/* 玩家微信登录 */
  15. 'mp/wx/updateinfo$' => 'api/Oauth/upMemInfo',/* 更新玩家信息 */
  16. 'mp/wx/getuserinfo$' => 'api/Oauth/getMemInfo',/* 获取玩家信息 */
  17. 'mem/getnoviceaward' => 'api/Oauth/getNoviceAward',/* 获取新手奖励 */
  18. /* 游戏 */
  19. 'game/start$' => 'api/App/gameOpen',/* 打开游戏--开始计时 */
  20. 'game/open$' => 'api/App/startup',/* 打开游戏--领取奖励 */
  21. 'game/list$' => 'api/Game/index',/* 游戏列表 */
  22. 'game/slide/list$' => 'api/Game/slideList',/* 游戏轮播列表 */
  23. 'game/detail' => 'api/Game/read', /* 游戏详情页 */
  24. //'mem/game/list$' => 'api/MemGame/index',/* 玩家游戏列表--推广游戏 */
  25. 'mem/game/list$' => 'api/Game/getRpList',/* 试玩红包列表--2018-10-16 修改 */
  26. 'mem/game/add$' => 'api/MemGame/add',/* 玩家添加游戏 */
  27. 'mem/game/cancel$' => 'api/MemGame/cancel',/* 玩家取消游戏 */
  28. 'mem/game/playlist$' => 'api/MemGame/playList',/* 我玩过的游戏列表 */
  29. /* 评论 */
  30. 'game/comment/list$' => 'api/Comment/getList',/* 游戏评论列表 */
  31. 'game/comment/mylist$' => 'api/Comment/myList',/* 我的游戏评论列表 */
  32. 'game/comment/add$' => 'api/Comment/add',/* 添加评论 */
  33. /* 财务 */
  34. 'financial/income/list$' => 'api/Financial/incomeList',/* 收益列表 */
  35. 'financial/income/rank/list$' => 'api/Financial/incomeRankList',/* 收益排行榜 */
  36. 'financial/withdraw/info$' => 'api/Financial/getWithdrawInfo',/* 提现配置信息 */
  37. 'financial/withdraw$' => 'api/Financial/withdraw',/* 申请提现 */
  38. 'financial/withdraw/list$' => 'api/Financial/withdrawList',/* 提现列表 */
  39. /* 主页 */
  40. 'home/comment/index$' => 'api/Homepage/commentInfo',/* 我的首页-评论与客服 */
  41. 'homepage/info$' => 'api/Homepage/info',/* 玩家主页信息 */
  42. 'homepage/update$' => 'api/Homepage/update',/* 修改玩家主页 */
  43. 'homepage/background/list$' => 'api/Homepage/backgroundList',/* 背景列表 */
  44. 'homepage/visitor/list$' => 'api/Homepage/visitorList',/* 最近访问主页的人 */
  45. 'bgimg/update$' => 'api/Homepage/updateBgImg',/* 修改背景图 */
  46. /* 团队 */
  47. 'team/mem/list$' => 'api/Team/MemList',/* 团队成员列表 */
  48. 'team/mem/income/list$' => 'api/Team/memIncomeList',/* 查看成员收入列表 */
  49. 'team/income/rank/list$' => 'api/Team/incomeRankList',/* 成员收入列表 */
  50. /* 帮助中心 */
  51. 'help/fqa/list$' => 'api/Help/fqaList',/* 帮助中心-常见问题 */
  52. 'help/withdraw/tips$' => 'api/Help/withdrawTips',/* 提现说明 */
  53. 'help/makemoney/tips$' => 'api/Help/makeMoneyTips',/* 赚钱小技巧 */
  54. /* 新增 */
  55. 'play/index$' => 'api/Home/playIndex',/* 盒子首页 */
  56. 'tag/game/list$' => 'api/Game/getTagIndex',/* 单栏目游戏列表 */
  57. 'find/game/list$' => 'api/Game/getFindList',/* 发现游戏列表 */
  58. 'rp/game/list$' => 'api/Game/getRpList', /* 试玩领红包游戏列表 */
  59. 'share/income/rank$' => 'api/Income/getRankIndex',/* 分享收益排行 */
  60. 'sign/income/add$' => 'api/Income/getSignMoney',/* 领取签到奖励 */
  61. 'share/income/get$' => 'api/Income/getShareMoney',/* 领取分享奖励 */
  62. 'play/income/get$' => 'api/Income/getPlayMoney',/* 领取试玩奖励 */
  63. 'game/income/get$' => 'api/Income/getGameMoney',/* 领取游戏奖励 */
  64. 'share/game/detail$' => 'api/Share/index',/* 游戏分享落地页 */
  65. 'favorite/reward/get$' => 'api/Income/getFavorite',/* 安卓桌面打开小程序奖励 */
  66. 'mp/red/info$' => 'api/Oauth/getRedInfo',/* 红包上展示的小程序信息1026 */
  67. 'mp/startup$' => 'api/Home/startup',/* 盒子启动闪屏图926 */
  68. 'player/game/list$' => 'api/Game/getPlayerList',/* 一起开黑 */
  69. /* 抽奖 */
  70. 'lottery/detail' => 'api/Lottery/index', /* 积分抽奖页面数据 */
  71. 'lottery/draw' => 'api/Lottery/draw', /* 积分抽奖 */
  72. ];