route.php 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. '__pattern__' => [
  13. 'name' => '\w+',
  14. ],
  15. '[hello]' => [
  16. ':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
  17. ':name' => ['index/hello', ['method' => 'post']],
  18. ],
  19. //百度人脸识别
  20. 'v1/BaiduFaceMatch'=>'expand/Baidu/Match',
  21. 'v1/BaiduFaceDetect'=>'expand/Baidu/Detect',
  22. //环信注册用户接口
  23. 'v1/EaseUserRegister'=>'expand/Easemob/userRegister',
  24. //表单提交模拟
  25. 'v1/MoniFormRequest'=>'expand/MoniForm/Request',
  26. //中文拼音转义
  27. 'v1/TransChinese'=>'expand/PinYin/transChinese',
  28. //发送邮件
  29. 'v1/mail/send'=>'expand/Email/sendMail',
  30. //监控接口
  31. 'v1/getProjectCodes'=>'monitor/Requestapi/getProjectCodes',
  32. 'v1/getARProjectCodes'=>'monitor/Requestapi/getARProjectCodes',
  33. 'v1/getApiRequestList'=>'monitor/Requestapi/getApiRequestList',
  34. 'v1/getAbnormalRequestList'=>'monitor/Requestapi/getAbnormalRequestList',
  35. //ERP销售接口
  36. 'v1/PushSales'=>'expand/Sales/pushSales',
  37. //F码接口
  38. 'v1/CouponsReceive'=>'expand/Coupons/receive',
  39. 'v1/CouponsCheck'=>'expand/Coupons/check',
  40. 'v1/CouponsList'=>'expand/Coupons/getList',
  41. //F码接口【新】
  42. 'v2/CheckCoupon'=>'expand/Fcoupons/checkFcoupon',//核销F码
  43. 'v2/SendCoupon'=>'expand/Fcoupons/sendFcoupons',//发放F码
  44. 'v2/CouponsList'=>'expand/Fcoupons/getFcouponsList',//获得用户F码
  45. //上传图片
  46. 'v1/UploadImage'=>'expand/UploadImage/fileUpload',
  47. //微信支付接口
  48. 'v1/WechatPay'=>'expand/WechatPay/platformWxPay',
  49. 'v1/PlatformRefund'=>'expand/WechatPay/platformRefund',
  50. 'v1/platformNotifyUrl'=>'expand/WechatPay/platformNotifyUrl',
  51. 'v1/getOpenId2Pay'=>'expand/WechatPay/getOpenId2Pay',
  52. 'v1/paySuccess'=>'expand/WechatPay/paySuccess',
  53. //京东支付接口
  54. 'v1/JdPay'=>'expand/JdPay/platformJdPay',
  55. 'v1/notifyJdPay'=>'expand/JdPay/notifyJdPay',
  56. //打印扫码贴接口
  57. 'v1/printMu'=>'expand/PrintSMT/mu',//打印关西店
  58. 'v1/printBear'=>'expand/PrintSMT/bear',//打印白熊店
  59. //获取微信卡券列表
  60. 'v1/getWxCardList'=>'expand/WechatJs/getUserCardInfo',
  61. //极光短信业务接口
  62. 'v1/JGSendSms'=>'expand/SmsJG/sendCode',
  63. 'v1/JGCheckSms'=>'expand/SmsJG/checkCode',
  64. 'v1/JGSendMessage'=>'expand/SmsJG/sendMessage',
  65. //小程序支付接口
  66. 'v1/notifyXcxPay'=>'expand/Xcx/notifyXcxPay',
  67. 'v1/platformXcxPay'=>'expand/Xcx/platformXcxPay',
  68. 'v1/getOpenInfo'=>'expand/Xcx/getOpenInfo',
  69. 'v1/getMobileInfo'=>'expand/Xcx/getMobileInfo',
  70. //一维码,二维码
  71. 'v1/Qrcode'=>'expand/Qrcode/QR',
  72. 'v1/Barcode'=>'expand/Barcode/Bar',
  73. //获取产品列表
  74. 'v1/getProductList'=>'expand/Product/getProductList',
  75. 'v1/getSeriesList'=>'expand/Product/getSeriesList',
  76. 'v1/getFalvorList'=>'expand/Product/getFalvorList',
  77. 'v1/getPackageList'=>'expand/Product/getPackageList',
  78. 'v1/getSeriesLists'=>'expand/Product/getSeriesLists',
  79. //蜂鸟接口
  80. 'v1/FnOrder'=>'expand/FengNiao/order',
  81. 'v1/FnSearchOrder'=>'expand/FengNiao/searchOrder',
  82. 'v1/FnNotifyUrl'=>'expand/FengNiao/notifyUrl',
  83. 'v1/distanceStore'=>'expand/FengNiao/distanceStore',
  84. 'v1/cancelOrder'=>'expand/FengNiao/cancelOrder',
  85. //鼎新接口
  86. 'v1/commonParameter'=>'expand/DinXin/commonParameter',//3.1.1 获取影院卡等级规则
  87. 'v1/cardAuth'=>'expand/DinXin/cardAuth',//3.1.2 会员卡密码校验
  88. 'v1/cardDetail'=>'expand/DinXin/cardDetail',//3.1.3 查询会员卡的详细信息
  89. 'v1/cardBuyInfo'=>'expand/DinXin/cardBuyInfo',//3.1.4 获得会员卡某场次的购票信息
  90. 'v1/orderTickets'=>'expand/DinXin/orderTickets',//3.1.5 获取有效的未出票订单
  91. 'v1/seatLockBuy'=>'expand/DinXin/seatLockBuy',//3.4.6 混合下单(影票、卖品)
  92. 'v1/ticketRefund'=>'expand/DinXin/ticketRefund',//3.4.8 退单(影票、卖品)
  93. 'v1/orderTicketFlag'=>'expand/DinXin/orderTicketFlag',//3.4.9 查询订单状态及取票码
  94. 'v1/orderStatus'=>'expand/DinXin/orderStatus',//3.4.10 查询订单状态
  95. 'v1/ticketInfo'=>'expand/DinXin/ticketInfo',//3.4.11 查询订单信息(影票)
  96. 'v1/ticketPrint'=>'expand/DinXin/ticketPrint',//3.4.13 确认出票(设置影票为已出票)
  97. 'v1/partnerCinemas'=>'expand/DinXin/partnerCinemas',//3.2.1 获取影院列表
  98. 'v1/cinemaConfig'=>'expand/DinXin/cinemaConfig',//3.2.2 获取单个影院配置信息
  99. 'v1/cinemaPlays'=>'expand/DinXin/cinemaPlays',//3.2.3 获取放映计划列表
  100. 'v1/cardTradeQuery'=>'expand/DinXin/cardTradeQuery',//3.1.10 会员卡消费流水查询
  101. 'v1/cardQuerybyphone'=>'expand/DinXin/cardQuerybyphone',//3.1.11 根据手机号查询卡号
  102. 'v1/movieInfo'=>'expand/DinXin/movieInfo',//3.2.4 获取影片详细信息
  103. 'v1/playInfo'=>'expand/DinXin/playInfo',//3.2.5 获取场次详细信息
  104. 'v1/playSeatStatus'=>'expand/DinXin/playSeatStatus',//3.2.6 获取场次座位状态
  105. 'v1/playPeriodChangedSeats'=>'expand/DinXin/playPeriodChangedSeats',//3.2.7 获取场次座位状态增量
  106. 'v1/playSeatOverview'=>'expand/DinXin/playSeatOverview',//3.2.8 获取场次座位售卖统计信息
  107. 'v1/cardRecharge'=>'expand/DinXin/cardRecharge',//3.4.2 会员卡充值
  108. 'v1/cardRechargeLog'=>'expand/DinXin/cardRechargeLog',//3.1.6 查询会员卡充值记录
  109. 'v1/orderList'=>'expand/DinXin/orderList',//3.1.7 查询会员卡历史订单
  110. 'v1/orderDetail'=>'expand/DinXin/orderDetail',//3.1.8 查询某条订单的详细信息
  111. 'v1/cardId'=>'expand/DinXin/cardId',//3.1.9 根据卡芯片号查询卡号
  112. 'v1/seatBook'=>'expand/DinXin/seatBook',//3.4.1 订票
  113. 'v1/seatPrice'=>'expand/DinXin/seatPrice',//3.4.4 座位锁定后获取票价
  114. 'v1/seatUnlock'=>'expand/DinXin/seatUnlock',//3.4.5 座位解锁
  115. 'v1/cinemaRechargeBill'=>'expand/DinXin/cinemaRechargeBill',//3.5.1 充值明细对账
  116. 'v1/orderBuy'=>'expand/DinXin/orderBuy',//3.2.1 下单接口
  117. 'v1/cinemaGoods'=>'expand/DinXin/cinemaGoods',//3.4.7 单独下单(卖品)
  118. //会员信息缓存
  119. 'v1/insertCache'=>'expand/Fcoupons/insertCache',
  120. 'v1/getMemberCache'=>'expand/Fcoupons/getMemberCache',
  121. //直播
  122. 'v1/live/liveList'=>'expand/Live/getLiveList',
  123. ];