web.php 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. <?php
  2. use App\Http\Controllers\ShareController;
  3. use Illuminate\Http\Request;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | API Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register API routes for your application. These
  10. | routes are loaded by the RouteServiceProvider within a group which
  11. | is assigned the "api" middleware group. Enjoy building your API!
  12. |
  13. */
  14. /** @var TYPE_NAME $api */
  15. $api = app('Dingo\Api\Routing\Router');
  16. $api->version('v1',[
  17. 'namespace'=>'App\Http\Controllers','middleware'=>'request_log'
  18. ],function ($api){
  19. $api->post('text_notify_url',function (){
  20. return true;
  21. });
  22. $api->get('text_order','UserController@order_infos');
  23. $api->get('giftCache','RankController@giftCache');
  24. $api->get('GetOrderDetail','OrdertestController@GetOrderDetail');//获取活动时间
  25. $api->get('AddDataGood','GoodtestController@AddDataGood');//获取活动时间
  26. $api->post('Enroll/message','EnrollController@message');
  27. $api->get('Enroll/paysdemo','EnrollController@paysdemo');
  28. /*----------------登录相关---------------*/
  29. $api->get('/login/judge_login','LoginController@judge_login');
  30. // $api->get('/banzui',function (){
  31. // return view('banzui');
  32. // });
  33. // $api->get('/neiku',function (){
  34. // return view('neiku');
  35. // });
  36. $api->post('/login/ban_code','LoginController@ban_code');
  37. $api->post('/login/banLogin','LoginController@banLogin');
  38. $api->post('/login/neikuLogin','LoginController@neikuLogin');
  39. $api->get('/wechat_mess','UserController@wechat_mess');
  40. $api->any('/login/login','LoginController@login');
  41. $api->post('/login/assitLogin','LoginController@assitLogin');
  42. $api->get('/login/wechat_login','LoginController@wechat_login');
  43. $api->get('/login/register','LoginController@register');
  44. $api->get('user/submit_user','UserController@submit_user');
  45. $api->get('/login/get_user_openid','LoginController@wxLogin');
  46. $api->post('/login/upload_avatar_img','LoginController@uploadAvatarImg');
  47. $api->get('/minilogin/wxLogin','MiniLoginController@wxLogin');
  48. $api->post('/minilogin/login','MiniLoginController@login');
  49. $api->group(['middleware' => 'jwt.auth'], function($api) {
  50. $api->get('/minilogin/getNoFinishOrder','MiniLoginController@getNoFinishOrder');
  51. });
  52. $api->post('/miniSub/refund_notify','MiniSubController@refundNotify');
  53. $api->get('/login/get_openid','LoginController@wx_Login');
  54. $api->get('/enid','LoginController@enid');
  55. $api->get('/fangwei/auth','LoginController@wx_auth');
  56. $api->get('notice/GetNotice','BasicController@WeChatNotice');
  57. $api->get('notice/GetNoticeList','BasicController@GetNoticeList');
  58. $api->post('user_apply/upload_apply_image','ApplyUserController@UploadApplyImage');
  59. $api->group(['middleware' => 'jwt.auth'], function($api) {
  60. $api->post('wechat/UploadImg','WechatController@UploadImg');
  61. /*--------------------个人信息开始-------------------*/
  62. $api->get('user/getinfo','UserController@getinfo');
  63. $api->get('user/getAppAgentInfo','UserController@getAppAgentInfo');
  64. $api->group(['middleware' => 'assit'], function($api) {
  65. $api->get('user/per_data','UserController@per_data');
  66. });
  67. $api->get('user/user_cert','AuditController@user_cert');
  68. $api->post('/user/auth_share','UserController@auth_share');
  69. $api->get('/user/auth_code','UserController@auth_code');
  70. /*-----------------换绑手机号-----------*/
  71. $api->get('user/send_code','UserController@send_code');
  72. $api->get('user/change_num','UserController@change_num');
  73. $api->get('user/Rank','RankController@Rank');
  74. $api->get('user/GetUserSignStatus','RankController@GetUserSignStatus');
  75. $api->get('user/GetUserInfo','RankController@GetUserInfo');
  76. $api->post('gift/GetInte','RankController@GetInte');
  77. $api->post('gift/address','RankController@address');
  78. $api->post('gift/UpdateAddAddress','RankController@UpdateAddAddress');
  79. $api->post('gift/gift_list','RankController@gift_list');
  80. $api->post('gift/exchange','RankController@exchange');
  81. $api->post('gift/record_detail','RankController@record_detail');
  82. $api->post('gift/destory_order','RankController@destory_order');
  83. /*-----------------地址管理------------*/
  84. $api->group(['middleware' => 'assit'], function($api) {
  85. $api->get('user/search_address','UserController@search_address');
  86. $api->get('user/show_address','UserController@show_address');
  87. $api->post('user/add_address', 'UserController@add_address');
  88. $api->get('user/del_address', 'UserController@del_address');
  89. $api->post('user/update_address', 'UserController@update_address');
  90. });
  91. $api->post('user/update_nickname','UserController@update_nickname');
  92. $api->get('user/auth_info','UserController@authInfo');
  93. $api->get('user/GetSetingTime','UserController@GetSetingTime');
  94. /**
  95. * 商品
  96. */
  97. $api->get('/goods/list','GoodsController@goods_list');
  98. $api->get('/goods/detail','GoodsController@goods_detail');
  99. $api->post('order/CheckGoodNum','OrdertestController@CheckGoodNum');//提交时校验数量
  100. $api->get('/order/get_express','OrdertestController@get_express');//订单物流
  101. $api->get('order/destory','OrdertestController@destory');//订单作废
  102. $api->get('order/GetOrderDetail','OrdertestController@GetOrderDetail');//合并详情
  103. $api->get('/express/GetExpressInnage','OrdertestController@GetExpressInnage');
  104. $api->get('order/type_count','OrdertestController@type_count');//
  105. $api->post('order/type_submit','OrdertestController@type_submit');//
  106. $api->get('get_activity','OrdertestController@get_activity');//获取活动时间
  107. $api->get('get_activity_list','OrdertestController@get_activity_list');//获取活动时间
  108. $api->get('GetUserHonor','OrdertestController@GetUserHonor');//获取活动时间
  109. $api->group(['prefix'=>'order'], function ($api){
  110. $api->get('look_good','StorageController@look_good');
  111. $api->get('good_detail','StorageController@good_detail');
  112. });
  113. $api->get('/order/get_gift_info','OrdertestController@get_gift');
  114. $api->get('/order_list','OrdertestController@order_list');//订单列表
  115. $api->post('/submit_order', 'OrdertestController@submit_order');//提交订单
  116. $api->get('/order/search_order','OrdertestController@search_order');
  117. $api->get('order_detail','OrdertestController@order_detail');
  118. $api->get('/order/get_gift','OrdertestController@get_data');
  119. $api->get('/order/order_data','OrdertestController@order_data');
  120. $api->get('/order/order_rank','OrdertestController@order_rank');
  121. $api->get('/order/get_order_expresses','OrdertestController@get_order_expresses');
  122. $api->get('/get_log','OrdertestController@get_log');
  123. $api->group(['prefix'=>'pays'], function ($api){
  124. $api->get('GetEnrollInfo','EnrollController@GetEnrollInfo');
  125. $api->post('pays','EnrollController@pays');
  126. $api->post('GetStatus','EnrollController@GetStatus');
  127. $api->post('GetAddress','EnrollController@GetAddress');
  128. $api->post('UpdateAddAddress','EnrollController@UpdateAddAddress');
  129. });
  130. /*肥皂**/
  131. $api->group(['middleware' => 'assit','prefix'=>'soap'], function ($api){
  132. $api->get('pays','SoapController@pays');
  133. $api->get('SearchStatus','SoapController@SearchStatus');
  134. $api->get('GetUserAddress','SoapController@GetUserAddress');
  135. $api->get('GetSoapList','SoapController@GetSoapList');
  136. $api->get('get_express','SoapController@get_express');
  137. });
  138. $api->get('/wechat/wechat','BasicController@wechat');
  139. $api->get('/logout','UserController@logout');
  140. //微店
  141. $api->group(['middleware' => 'assit'], function($api) {
  142. $api->post('store/set_agree','StoreController@setAgree');
  143. $api->post('store/share_store','StoreController@shareStore');
  144. $api->post('store/upload_cert_img','StoreController@uploadCertImgQny');
  145. $api->post('store/upload_face_img','StoreController@uploadFaceImg');
  146. //获取客服信息
  147. $api->get('store/getServiceInfo','StoreController@getServiceInfo');
  148. $api->get('store/get_store_info','StoreController@getStoreInfo');
  149. $api->get('store/getZbsRank','StoreController@getZbsRank');
  150. $api->get('store/get_agent_info','StoreController@getAgentInfo');
  151. $api->post('store/edit_store_info','StoreController@editStoreInfo');
  152. $api->post('store/edit_store_address','StoreController@editStoreAddress');
  153. $api->post('store/upload_store_img','StoreController@uploadStoreImg');
  154. $api->get('store/get_user_data_info','StoreController@getUserDataInfo');
  155. $api->get('store/get_user_info','StoreController@getUserInfo');
  156. $api->get('store/get_all_address','StoreController@getAllAddress');
  157. $api->get('store/get_address','StoreController@getAddress');
  158. $api->post('store/add_address','StoreController@addAddress');
  159. $api->post('store/update_address','StoreController@updateAddress');
  160. $api->post('store/destroy_address','StoreController@destroyAddress');
  161. $api->post('store/set_default_address','StoreController@setDefaultAddress');
  162. $api->post('store/submit_order_info','StoreController@submitOrderInfo');
  163. $api->post('store/CheckOrder','StoreController@CheckOrder');
  164. $api->post('store/edit_order_remark','StoreController@editOrderRemark');
  165. $api->post('store/share_order_info','StoreController@shareOrderInfo');
  166. $api->get('store/get_order_status_num','StoreController@getOrderStatusNum');
  167. $api->get('store/get_order_lists','StoreController@getOrderLists');
  168. $api->get('store/get_order_list','StoreController@getOrderList');
  169. $api->get('store/get_order_list1','StoreController@getOrderList1');
  170. $api->get('store/get_refund_order_detail','StoreController@getRefundOrderDetail');
  171. $api->post('store/add_user','StoreController@addUser');
  172. $api->post('store/set_vip','StoreController@setVip');
  173. $api->post('store/cancel_vip','StoreController@cancelVip');
  174. $api->get('store/get_user','StoreController@getUser');
  175. $api->post('store/edit_user','StoreController@editUser');
  176. $api->get('store/get_address_info','StoreController@getAddressInfo');
  177. $api->post('store/submit_refund_order','StoreController@submitRefundOrder');
  178. $api->post('store/upload_refund_order_img','StoreController@uploadRefundOrderImg');
  179. $api->get('store/get_origin_order_info','StoreController@getOriginOrderInfo');
  180. $api->get('store/cancel_refund_order','StoreController@cancelRefundOrder');
  181. $api->get('store/get_order_info','StoreController@getOrderInfo');
  182. $api->get('store/get_order_no_info','StoreController@getOrderNoInfo');
  183. $api->post('store/add_comment','StoreController@addComment');
  184. $api->get('store/get_comment','StoreController@getComment');
  185. $api->get('store/scan_code_info','StoreController@scanCodeInfo');
  186. $api->post('store/submit_scan_code_info','StoreController@submitScanCodeInfo');
  187. $api->post('store/delete_scan_code','StoreController@deleteScanCode');
  188. $api->get('store/get_no_send_order','StoreController@getNoSendOrder');
  189. $api->get('store/get_express_code','StoreController@getExpressCode');
  190. $api->get('store/get_express_company','StoreController@getExpressCompany');
  191. $api->post('store/add_order_express_no','StoreController@addOrderExpressNo');
  192. $api->get('store/get_order_express','StoreController@getOrderExpress');
  193. $api->get('store/get_more_buy','StoreController@getMoreBuy');
  194. $api->get('store/get_more_user_info','StoreController@getMoreUserInfo');
  195. $api->get('store/get_user_all_order','StoreController@getUserAllOrder');
  196. $api->get('store/get_more_scan','StoreController@getMoreScan');
  197. $api->get('store/send_sms','StoreController@sendSms');
  198. $api->post('store/edit_sms','StoreController@editSms');
  199. $api->post('store/check_sms','StoreController@checkSms');
  200. $api->post('store/one_self_take','StoreController@oneSelfTake');
  201. $api->post('store/cancel_order','StoreController@cancelOrder');
  202. $api->post('store/auth_order_cancel','StoreController@authOrderCancel');
  203. $api->get('store/get_sign_package','StoreController@getSignPackage');
  204. $api->post('store/upload_qian_ming_img','StoreController@uploadQianMingImg');
  205. $api->post('store/sure_receive_order','StoreController@sureReceiveOrder');
  206. $api->post('store/agent_sure_receive_order','StoreController@agentSureReceiveOrder');
  207. $api->get('store_goods/get_goods_taps','StoreGoodsController@getGoodsTaps');
  208. $api->get('store_goods/get_goods_list','StoreGoodsController@getGoodsList');
  209. $api->get('store_goods/share_goods','StoreGoodsController@shareGoods');
  210. $api->get('store_goods/get_store_user','StoreGoodsController@getStoreUser');
  211. $api->get('store_goods/get_goods_detail','StoreGoodsController@getGoodsDetail');
  212. $api->get('store_goods/get_sale_info','StoreGoodsController@getSaleInfo');
  213. $api->get('store_goods/get_sale_account','StoreGoodsController@getSaleAccount');
  214. $api->post('store_goods/upload_wx_qr_code_img','StoreGoodsController@uploadWxQrCodeImg');
  215. $api->post('store_goods/edit_express','StoreGoodsController@editExpress');
  216. $api->get('store_goods/get_user_data','StoreGoodsController@getUserData');
  217. $api->get('store_goods/get_user_list','StoreGoodsController@getUserlist');
  218. $api->get('store_goods/get_see_user_data','StoreGoodsController@getSeeUserData');
  219. $api->get('store_goods/get_see_user_list','StoreGoodsController@getSeeUserList');
  220. $api->get('store_goods/get_store_goods_inventory','StoreGoodsController@getStoreGoodsInventory');
  221. $api->post('store_goods/set_store_goods_inventory','StoreGoodsController@setStoreGoodsInventory');
  222. $api->get('store_goods/get_cancel_order_list','StoreGoodsController@getCancelOrderList');
  223. $api->get('store_goods/get_all_refund_order','StoreGoodsController@getAllRefundOrder');
  224. $api->get('store_goods/get_refund_order_detail','StoreGoodsController@getRefundOrderDetail');
  225. $api->post('store_goods/delete_origin_order','StoreGoodsController@deleteOriginOrder');
  226. $api->post('store_goods/cancel_refund_order','StoreGoodsController@cancelRefundOrder');
  227. $api->get('store_goods/get_all_video','StoreGoodsController@getAllVideo');
  228. $api->get('store_goods/getZbsData','StoreGoodsController@getZbsData');
  229. $api->post('payment/pay','PaymentController@pay');
  230. $api->post('minipay/pay','MiniPayController@pay');
  231. $api->post('payment/set_bank_info','MiniSubController@setBankInfo');
  232. $api->get('payment/get_bank_info','MiniSubController@getBankInfo');
  233. $api->post('payment/finish','MiniSubController@finish');
  234. $api->group(['prefix'=>'miniSub'], function ($api){
  235. /**小商户进件***/
  236. $api->post('apply_wx','MiniSubController@apply_wx');
  237. /**获取平台证书***/
  238. $api->get('getzhengshu','MiniSubController@getzhengshu');
  239. /**查看进件状态***/
  240. $api->get('query','MiniSubController@query');
  241. $api->get('query123','MiniSubController@query123');
  242. $api->post('uploadmedia','MiniSubController@uploadmedia');
  243. $api->post('upload_img','MiniSubController@uploadImg');
  244. //获取账户信息(可用余额 | 冻结余额)
  245. $api->get('get_account_info','MiniSubController@getAccountInfo');
  246. $api->get('get_yue','MiniSubController@get_yue');
  247. //商户提现
  248. $api->post('withdrawal','MiniSubController@withdrawal');
  249. //查询提现状态
  250. $api->get('get_withdrawal_states','MiniSubController@getWithdrawalStates');
  251. //下载
  252. $api->get('get_down_withdraw','MiniSubController@getDownWithdraw');
  253. //获取所有银行列表
  254. $api->get('getPersonBankList','MiniSubController@getPersonBankList');
  255. //获取省
  256. $api->get('getProvinceList','MiniSubController@getProvinceList');
  257. //获取市
  258. $api->get('getCityList','MiniSubController@getCityList');
  259. //获取支行
  260. $api->get('getBankBranchList','MiniSubController@getBankBranchList');
  261. //获取银行账户信息
  262. $api->get('get_bank_info','MiniSubController@getBankInfo');
  263. //修改银行账户信息
  264. $api->post('set_bank_info','MiniSubController@setBankInfo');
  265. $api->post('setBankInfoTest','MiniSubController@setBankInfoTest');
  266. $api->post('setBankInfodemo','MiniSubController@setBankInfodemo');
  267. //获取记录
  268. $api->get('get_account_detail','MiniSubController@getAccountDetail');
  269. //开启点金
  270. $api->post('dianjin','MiniSubController@dianjin');
  271. //开启商家小票
  272. $api->post('business_tips','MiniSubController@businessTips');
  273. //关闭广告
  274. $api->post('adverting','MiniSubController@adverting');
  275. //退款
  276. $api->post('refund_amount','MiniSubController@refundAmount');
  277. //人工手动退款
  278. $api->post('refund_amount_manual','MiniSubController@refundAmountManual');
  279. //查询退款
  280. $api->get('get_refund_state','MiniSubController@getRefundState');
  281. //查询微信支付
  282. $api->get('get_pay_state','MiniSubController@getPayState');
  283. //获取全部银行
  284. $api->get('get_all_bank','MiniSubController@getAllBank');
  285. //获取银行支行
  286. $api->get('get_bank_branch','MiniSubController@getBankBranch');
  287. //查询分账结果
  288. $api->get('fenzhang','MiniSubController@fenzhang');
  289. });
  290. });
  291. $api->group(['middleware' => 'assit','prefix'=>'storage'], function ($api){
  292. /**我的***/
  293. $api->get('my_storage','StorageController@my_storage');
  294. /**库存详情***/
  295. $api->get('storage_detail','StorageController@storage_detail');
  296. /***待入库***/
  297. $api->get('put_storage','StorageController@put_storage');
  298. /**入库操作**/
  299. $api->get('put_good_storage','StorageController@put_good_storage');
  300. /**入库记录详情(出库记录、盘库记录)**/
  301. $api->get('put_storage_detail','StorageController@put_storage_detail');
  302. /**入库记录分组**/
  303. $api->get('put_storage_group','StorageController@put_storage_group');
  304. /*获取商品图片**/
  305. $api->get('get_goodimg','StorageController@get_goodimg');
  306. /**一次性盘库**/
  307. $api->post('one_sure_storage','StorageController@one_sure_storage');
  308. /**获取库存**/
  309. $api->get('get_storage','StorageController@get_storage');
  310. /**盘库**/
  311. $api->post('sure_storage','StorageController@sure_storage');
  312. /**出库**/
  313. $api->post('out_storage','StorageController@out_storage');
  314. $api->get('sure_storage_group','StorageController@sure_storage_group');//盘库记录的分组
  315. $api->get('sure_storage_detail','StorageController@sure_storage_detail');//盘库记录的详情
  316. $api->get('put_storage_groups','StorageController@put_storage_groups');//入库记录的分组
  317. $api->get('put_storage_details','StorageController@put_storage_details');//入库记录的详情
  318. $api->post('put_storages','StorageController@put_storages');//入库的详情
  319. $api->get('get_group','StorageController@get_group');//货物相亲
  320. $api->get('get_detail','StorageController@get_detail');
  321. });
  322. //消息公告
  323. $api->get('index/get_message_info','IndexController@getMessageInfo');
  324. $api->get('index/get_message_list','IndexController@getMessageList');
  325. $api->get('app/index','BasicController@index');
  326. });
  327. $api->post('store_goods/upload_img','StoreGoodsController@uploadImg');
  328. $api->post('store_goods/uploadImgQi','StoreGoodsController@uploadImgQi');
  329. $api->get('store_goods/auth_code','StoreGoodsController@auth_code');
  330. $api->post('payment/notify','PaymentController@notify');
  331. $api->post('minipay/notify','MiniPayController@notify');
  332. //退款
  333. $api->post('payment/refund_notify','PaymentController@refundNotify');
  334. $api->group(['middleware' => 'assit'],function($api) {
  335. $api->get('/good_show', 'GoodtestController@good_show');//商品列表
  336. });
  337. $api->get('/good/LimitGood', 'GoodtestController@LimitGood');//商品列表
  338. $api->post('/pay/message','EnrollController@message');
  339. /**肥皂支付回调**/
  340. $api->post('/soap/message','SoapController@message');
  341. $api->get('order/order_notpay','OrderController@order_notpay');
  342. $api->get('/user/auth_sel','UserController@auth_sel');
  343. $api->get('/user/auth_show','UserController@auth_show');
  344. $api->get('/wechat/wechat_data','BasicController@wechat_data');
  345. $api->get('/wechat/return_code','BasicController@return_code');
  346. // $api->get('inventory/detail','GoodSkuTotalController@total_sur');
  347. $api->get('order/my_storage','GoodSkuTotalController@total_sur');//库存
  348. $api->get('system','BasicController@system');
  349. $api->get('send_code','LoginController@send_code');
  350. // $api->get('gzh',function (){
  351. // return '<script>alert("请使用新系统!")</script>';
  352. // });
  353. // $api->get('gzh','UserController@gzh');
  354. $api->get('GetShareInfo', 'ShareController@GetShareInfo');
  355. $api->get('shouquan','UserController@shouquan');
  356. $api->get('xxShouQuan','UserController@xxShouQuan');
  357. // $api->get('gzh/{nickname}','UserController@gzh');
  358. $api->get('select','UserController@auth_select');
  359. $api->post('data_or','RankController@data_or');
  360. $api->post('data_orls','RankController@data_orls');
  361. $api->post('data_oruser','RankController@data_oruser');
  362. $api->any('/user/login','LoginController@login');
  363. $api->get('/wechat/wechats','BasicController@wechats');
  364. $api->any('/login/login123','LoginController@setUserInfo');
  365. $api->any('/createTt','LoginController@CreateToken');
  366. $api->get('discernAdress','AddressController@DealAddress');
  367. $api->get('address/getDiscern','AddressController@getDiscern');
  368. $api->get('address/smart_parse','AddressController@smart_parse');
  369. $api->get('address/getTest','AddressController@getTest');
  370. $api->get('GetCache','ApplyUserController@GetCache');
  371. $api->get('GetIndex','GoodtestController@GetIndex');
  372. $api->get('getuser_num','GoodtestController@getuser_num');
  373. $api->get('getBankInfodemo','MiniSubController@getBankInfodemo');
  374. $api->get('searchAccount','MiniSubController@searchAccount');
  375. $api->group(['prefix'=>'TravelImage','namespace'=>'TravelImage'],function ($api){
  376. /**登录**/
  377. $api->get('wx_Login','TravelImageController@wx_Login');
  378. $api->post('Login','TravelImageController@Login');
  379. $api->group(['middleware' => 'jwt.auth'],function ($api){
  380. $api->get('TravelImageList','TravelImageController@TravelImageList');
  381. $api->get('get_folder','TravelImageController@get_folder');
  382. $api->get('get_img_detail','TravelImageController@get_img_detail');
  383. $api->get('GetTravelList','TravelImageController@GetTravelList');
  384. $api->post('UploadImg','TravelImageController@UploadImg');
  385. $api->post('GetImg','TravelImageController@GetImg');
  386. $api->post('GetUserImage','TravelImageController@GetUserImage');
  387. });
  388. });
  389. $api->group(['prefix'=>'SzyImageH5','namespace'=>'SImage'],function ($api){
  390. /**登录**/
  391. $api->get('wx_Login','SImageController@wx_Login');
  392. $api->post('Login','SImageController@Login');
  393. $api->group(['middleware' => 'jwt.auth'],function ($api){
  394. $api->get('TravelImageList','SImageController@TravelImageList');
  395. $api->get('get_folder','SImageController@get_folder');
  396. $api->get('get_img_detail','SImageController@get_img_detail');
  397. $api->get('GetTravelList','SImageController@GetTravelList');
  398. $api->post('UploadImg','SImageController@UploadImg');
  399. $api->post('GetImg','SImageController@GetImg');
  400. $api->post('GetUserImage','SImageController@GetUserImage');
  401. });
  402. });
  403. $api->group(['prefix'=>'','namespace'=>'TravelImage'],function ($api){
  404. $api->get('travel','TravelImageController@travel');
  405. });
  406. $api->group(['prefix'=>'','namespace'=>'SImage'],function ($api){
  407. $api->get('szyImg','SImageController@szyImg');
  408. });
  409. $api->group(['prefix'=>'order','namespace'=>'Assit'], function ($api) {
  410. $api->group(['middleware' => ['assit','jwt.auth']], function($api) {
  411. $api->group(['prefix' => 'oor'], function ($api) {
  412. $api->get('/order_list','OrdertestController@order_list');//订单列表
  413. });
  414. });
  415. });
  416. $api->group(['prefix'=>'','namespace'=>'HuiFu'], function ($api) {
  417. // $api->get('/Bins','HuiFuController@Bins');//检查是否上传信息
  418. $api->group(['middleware' => ['jwt.auth']], function($api) {
  419. $api->group(['prefix' => 'HuiFu'], function ($api) {
  420. $api->get('/check','HuiFuController@check');//检查是否上传信息
  421. $api->post('/QuickBankApply','HuiFuController@QuickBankApply');//绑卡申请
  422. $api->post('/QuickBankConfirm','HuiFuController@QuickBankConfirm');//绑卡确认
  423. $api->post('/QuickBankPay','HuiFuController@QuickBankPay');//支付申请
  424. $api->post('/QuickBankSms','HuiFuController@QuickBankSms');//支付确认
  425. $api->post('/CheckStatus','HuiFuController@CheckStatus');//支付状态查询
  426. $api->post('/UnbindBank','HuiFuController@UnbindBank');//支付状态查询
  427. $api->post('/BankInfo','HuiFuController@BankInfo');//支付状态查询
  428. });
  429. $api->group(['prefix' => 'HuiFuSZ'], function ($api) {
  430. $api->get('/check','HuiFuSZController@check');//检查是否上传信息
  431. $api->post('/QuickBankPay','HuiFuSZController@QuickBankPay');//支付申请
  432. $api->post('/QuickBankSms','HuiFuSZController@QuickBankSms');//支付确认
  433. $api->post('/CheckStatus','HuiFuSZController@CheckStatus');//支付状态查询
  434. $api->post('/ImageEnroll','HuiFuSZController@ImageEnroll');//支付状态查询
  435. });
  436. $api->group(['prefix' => 'HuiFuSZOnline'], function ($api) {
  437. $api->get('/check','HuiFuSZOnlineController@check');//检查是否上传信息
  438. $api->post('/QuickBankPay','HuiFuSZOnlineController@QuickBankPay');//支付申请
  439. $api->post('/QuickBankSms','HuiFuSZOnlineController@QuickBankSms');//支付确认
  440. $api->post('/CheckStatus','HuiFuSZOnlineController@CheckStatus');//支付状态查询
  441. $api->post('/GetAddress','HuiFuSZOnlineController@GetAddress');//支付状态查询
  442. $api->post('/UpdateAddAddress','HuiFuSZOnlineController@UpdateAddAddress');//支付状态查询
  443. $api->post('/GetEnrollInfo','HuiFuSZOnlineController@GetEnrollInfo');//支付状态查询
  444. });
  445. });
  446. });
  447. });