web.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. <?php
  2. use Illuminate\Http\Request;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | API Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register API routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | is assigned the "api" middleware group. Enjoy building your API!
  11. |
  12. */
  13. $api = app('Dingo\Api\Routing\Router');
  14. $api->version('v1',[
  15. 'namespace'=>'App\Http\Controllers'
  16. ],function ($api){
  17. $api->get('GetOrderDetail','OrdertestController@GetOrderDetail');//获取活动时间
  18. /*----------------登录相关---------------*/
  19. $api->get('/login/judge_login','LoginController@judge_login');
  20. $api->get('/wechat_mess','UserController@wechat_mess');
  21. $api->any('/login/login','LoginController@login');
  22. $api->get('/GetPay/GetPay','PaymentController@GetPay');
  23. $api->get('/express/GetExpressInnage','OrdertestController@GetExpressInnage');
  24. $api->get('/express/Innage','OrdertestController@Innage');
  25. $api->get('/login/wechat_login','LoginController@wechat_login');
  26. $api->get('/login/register','LoginController@register');
  27. $api->get('user/submit_user','UserController@submit_user');
  28. $api->get('/login/get_user_openid','LoginController@wxLogin');
  29. $api->post('/login/upload_avatar_img','LoginController@uploadAvatarImg');
  30. $api->get('/minilogin/wxLogin','MiniLoginController@wxLogin');
  31. $api->post('/minilogin/login','MiniLoginController@login');
  32. $api->post('/miniSub/refund_notify','MiniSubController@refundNotify');
  33. $api->get('/login/get_openid','LoginController@wx_Login');
  34. $api->get('/GetGoodNum','GoodtestController@GetGoodNum');
  35. $api->get('/enid','LoginController@enid');
  36. $api->get('/GetUserTeamLists','TeamController@GetUserTeamLists');
  37. $api->get('/fangwei/auth','LoginController@wx_auth');
  38. $api->group(['middleware' => 'jwt.auth'], function($api) {
  39. $api->get('AddQrCode','IndexController@AddQrCode');//文章列表
  40. $api->get('AddQrCodes','IndexController@AddQrCodes');//文章列表
  41. /*--------------------个人信息开始-------------------*/
  42. $api->get('user/getinfo','UserController@getinfo');
  43. $api->get('user/per_data','UserController@per_data');
  44. $api->get('user/confirm_level','UserController@confirm_level');
  45. // $api->get('user/submit_user','UserController@submit_user');
  46. $api->get('user/user_cert','AuditController@user_cert');
  47. /*----------------授权书相关------------*/
  48. $api->get('/user/auth_code','UserController@auth_code');
  49. $api->post('/user/auth_share','UserController@auth_share');
  50. /*-----------------换绑手机号-----------*/
  51. $api->get('user/send_code','UserController@send_code');
  52. $api->get('user/change_num','UserController@change_num');
  53. /*-----------------地址管理------------*/
  54. $api->get('user/show_address','UserController@show_address');
  55. $api->post('user/add_address','UserController@add_address');
  56. $api->get('user/search_address','UserController@search_address');
  57. $api->get('user/del_address','UserController@del_address');
  58. $api->post('user/update_address','UserController@update_address');
  59. $api->post('user/update_nickname','UserController@update_nickname');
  60. $api->get('user/auth_info','UserController@authInfo');
  61. /*--------------------个人信息结束-------------------*/
  62. /**------------邀请相关-----------***/
  63. // $api->get('user/audit','AuditController@recom_sure');
  64. $api->get('team/examine','AuditController@recom_audit');
  65. $api->get('team/examine_list','AuditController@recom_sure_record');//注册审核列表
  66. // $api->get('user/recom_audit_record','AuditController@recom_sure_record');
  67. // $api->get('user/agent_audit','AuditController@agent_audit');
  68. // $api->get('user/agent_audit_show','AuditController@agent_sure_show');
  69. // $api->get('user/agent_audit_record','AuditController@agent_sure_record');
  70. /*-------团队--------*/
  71. $api->get('team/card_data','TeamController@card_data');
  72. $api->get('team/new_per','TeamController@new_per');
  73. $api->get('team/list','TeamController@level_count');
  74. $api->get('team/add_list','TeamController@add_list');
  75. $api->get('team/money','TeamController@money');
  76. $api->get('team/invite','TeamController@invite');
  77. $api->get('team/invite_code','TeamController@invite_code');
  78. $api->group(['prefix'=>'team'],function ($api){
  79. $api->get('GetUserTeamList','TeamController@GetUserTeamList');
  80. $api->get('GetUserTeamLevelDetail','TeamController@GetUserTeamLevelDetail');
  81. $api->get('SearchUserTeamLevelDetail','TeamController@SearchUserTeamLevelDetail');
  82. $api->get('GetTeamList','TeamController@GetTeamList');
  83. $api->get('GetNewUserDetail','TeamController@GetNewUserDetail');
  84. $api->get('StoreNoOpen','TeamController@StoreNoOpen');
  85. });
  86. /**
  87. * 商品
  88. */
  89. $api->get('/goods/list','GoodsController@goods_list');
  90. $api->get('/goods/detail','GoodsController@goods_detail');
  91. $api->get('app/chart','BasicController@charts');
  92. $api->get('app/index','BasicController@index');
  93. $api->get('app/message','BasicController@message');
  94. $api->get('app/message_read','BasicController@message_read');
  95. $api->get('app/updata','BasicController@version');
  96. /*
  97. * 订单相关
  98. * */
  99. $api->post('order/submit_order','OrderController@submit_order');//提交
  100. $api->get('order/order_complete','OrderController@order_complete');//收货
  101. $api->get('order/order_sure_pay','OrderController@order_sure_pay');//收款
  102. $api->get('order/order_del','OrderController@order_del');//删除
  103. $api->get('order/detail','OrderController@order_detail');//订单详情
  104. $api->get('order/my_order','OrderController@my_order');//我的订单
  105. $api->get('order/order_lower','OrderController@order_lower');//我的订单
  106. $api->get('order/order_turn','OrderController@order_turn');//转单订单
  107. $api->post('order/forward','OrderController@turn_order');//转单订单
  108. $api->get('inventory/record','OrderController@single_record');//转单订单
  109. // $api->get('inventory/get_user','OrderController@get_user');//转单订单
  110. /**----财富相关------**/
  111. $api->get('income/income','TreasureController@income');
  112. $api->get('income/detail','TreasureController@detail');
  113. /**----APP相关-----**/
  114. $api->get('app/feedback','BasicController@question');
  115. $api->get('app/GetVRLink','BasicController@GetVRLink');
  116. // $api->get('/index','IndexController@index');
  117. $api->get('article/show_list','ArticleController@show_list');
  118. $api->get('article/like','ArticleController@like');
  119. $api->get('article/collection','ArticleController@collection');
  120. $api->get('article/mycollection','ArticleController@mycollection');
  121. $api->post('/user/update_pass','UserController@update_pass');
  122. $api->post('/submit_order','OrdertestController@submit_order');//提交订单
  123. $api->get('/order/get_gift','OrdertestController@get_data');//获取赠品信息
  124. $api->get('/order/sure_order','OrdertestController@sure_order');//提交订单
  125. $api->get('/order_detail','OrdertestController@order_detail');//订单详情
  126. $api->get('/order_list','OrdertestController@order_list');//订单列表
  127. $api->get('/get_log','OrdertestController@get_log');//订单操作日志
  128. $api->get('/pay_order','OrdertestController@pay_order');//订单支付
  129. $api->get('/destory','OrdertestController@destory');//订单修改和作废
  130. $api->get('/user/user_pay_log','PayController@user_pay_log');//账户金额日志
  131. $api->get('/order/get_gift_info','OrdertestController@get_gift');//获取订单赠品信息
  132. $api->get('/order/get_order_expresses','OrdertestController@get_order_expresses');//订单物流
  133. $api->get('/order/get_express','OrdertestController@get_express');//订单物流
  134. $api->get('/order/order_rank','OrdertestController@order_rank');
  135. $api->get('/order/order_data','OrdertestController@order_data');//订单统计
  136. $api->get('/order/search_order','OrdertestController@search_order');//订单统计
  137. $api->get('/inventory/get_user','OrdertestController@get_user');//订单统计
  138. $api->get('order/GetOrderDetail','OrdertestController@GetOrderDetail');//合并详情
  139. /**礼品统计**/
  140. $api->get('order/type_count','OrdertestController@type_count');//下级信息礼品详情
  141. $api->post('order/type_submit','OrdertestController@type_submit');//礼品提交
  142. $api->get('get_activity','OrdertestController@get_activity');//获取活动时间
  143. $api->get('get_activity_list','OrdertestController@get_activity_list');//获取活动时间
  144. $api->get('GetUserHonor','OrdertestController@GetUserHonor');//获取活动时间
  145. $api->group(['prefix'=>'order'], function ($api){
  146. $api->get('look_good','StorageController@look_good');
  147. $api->get('good_detail','StorageController@good_detail');
  148. });
  149. $api->get('/wechat/wechat','BasicController@wechat');
  150. $api->get('/logout','UserController@logout');
  151. //微店
  152. $api->post('store/set_agree','StoreController@setAgree');
  153. $api->post('store/share_store','StoreController@shareStore');
  154. $api->post('store/upload_cert_img','StoreController@uploadCertImg');
  155. $api->post('store/upload_face_img','StoreController@uploadFaceImg');
  156. $api->get('store/get_store_info','StoreController@getStoreInfo');
  157. $api->get('store/get_agent_info','StoreController@getAgentInfo');
  158. $api->post('store/edit_store_info','StoreController@editStoreInfo');
  159. $api->post('store/edit_store_address','StoreController@editStoreAddress');
  160. $api->post('store/upload_store_img','StoreController@uploadStoreImg');
  161. $api->post('store/cert_store','StoreController@certStore');
  162. $api->get('store/get_user_data_info','StoreController@getUserDataInfo');
  163. $api->get('store/get_user_info','StoreController@getUserInfo');
  164. $api->get('store/get_all_address','StoreController@getAllAddress');
  165. $api->get('store/get_address','StoreController@getAddress');
  166. $api->post('store/add_address','StoreController@addAddress');
  167. $api->post('store/update_address','StoreController@updateAddress');
  168. $api->post('store/destroy_address','StoreController@destroyAddress');
  169. $api->post('store/set_default_address','StoreController@setDefaultAddress');
  170. $api->post('store/submit_order_info','StoreController@submitOrderInfo');
  171. $api->post('store/edit_order_remark','StoreController@editOrderRemark');
  172. $api->post('store/share_order_info','StoreController@shareOrderInfo');
  173. $api->get('store/get_order_status_num','StoreController@getOrderStatusNum');
  174. $api->get('store/get_order_lists','StoreController@getOrderLists');
  175. $api->get('store/get_order_list','StoreController@getOrderList');
  176. $api->get('store/get_order_list1','StoreController@getOrderList1');
  177. $api->get('store/get_refund_order_detail','StoreController@getRefundOrderDetail');
  178. $api->post('store/add_user','StoreController@addUser');
  179. $api->post('store/set_vip','StoreController@setVip');
  180. $api->post('store/cancel_vip','StoreController@cancelVip');
  181. $api->get('store/get_user','StoreController@getUser');
  182. $api->post('store/edit_user','StoreController@editUser');
  183. $api->get('store/get_address_info','StoreController@getAddressInfo');
  184. $api->post('store/submit_refund_order','StoreController@submitRefundOrder');
  185. $api->post('store/upload_refund_order_img','StoreController@uploadRefundOrderImg');
  186. $api->get('store/get_origin_order_info','StoreController@getOriginOrderInfo');
  187. $api->get('store/cancel_refund_order','StoreController@cancelRefundOrder');
  188. $api->get('store/get_order_info','StoreController@getOrderInfo');
  189. $api->get('store/get_order_no_info','StoreController@getOrderNoInfo');
  190. $api->post('store/add_comment','StoreController@addComment');
  191. $api->get('store/get_comment','StoreController@getComment');
  192. $api->get('store/get_express_code','StoreController@getExpressCode');
  193. $api->get('store/get_express_company','StoreController@getExpressCompany');
  194. $api->post('store/add_order_express_no','StoreController@addOrderExpressNo');
  195. $api->get('store/get_order_express','StoreController@getOrderExpress');
  196. $api->get('store/get_more_buy','StoreController@getMoreBuy');
  197. $api->get('store/get_more_user_info','StoreController@getMoreUserInfo');
  198. $api->get('store/get_user_all_order','StoreController@getUserAllOrder');
  199. $api->get('store/get_more_scan','StoreController@getMoreScan');
  200. $api->get('store/send_sms','StoreController@sendSms');
  201. $api->post('store/edit_sms','StoreController@editSms');
  202. $api->post('store/check_sms','StoreController@checkSms');
  203. $api->post('store/one_self_take','StoreController@oneSelfTake');
  204. $api->post('store/cancel_order','StoreController@cancelOrder');
  205. $api->post('store/auth_order_cancel','StoreController@authOrderCancel');
  206. $api->get('store/get_sign_package','StoreController@getSignPackage');
  207. $api->post('store/upload_qian_ming_img','StoreController@uploadQianMingImg');
  208. $api->post('store/sure_receive_order','StoreController@sureReceiveOrder');
  209. $api->post('store/agent_sure_receive_order','StoreController@agentSureReceiveOrder');
  210. $api->get('store_goods/get_goods_taps','StoreGoodsController@getGoodsTaps');
  211. $api->get('store_goods/get_goods_list','StoreGoodsController@getGoodsList');
  212. $api->get('store_goods/share_goods','StoreGoodsController@shareGoods');
  213. $api->get('store_goods/get_store_user','StoreGoodsController@getStoreUser');
  214. $api->get('store_goods/get_goods_detail','StoreGoodsController@getGoodsDetail');
  215. $api->get('store_goods/get_sale_info','StoreGoodsController@getSaleInfo');
  216. $api->get('store_goods/get_sale_account','StoreGoodsController@getSaleAccount');
  217. $api->post('store_goods/upload_wx_qr_code_img','StoreGoodsController@uploadWxQrCodeImg');
  218. $api->post('store_goods/edit_express','StoreGoodsController@editExpress');
  219. $api->get('store_goods/get_user_data','StoreGoodsController@getUserData');
  220. $api->get('store_goods/get_user_list','StoreGoodsController@getUserlist');
  221. $api->get('store_goods/get_see_user_data','StoreGoodsController@getSeeUserData');
  222. $api->get('store_goods/get_see_user_list','StoreGoodsController@getSeeUserList');
  223. $api->get('store_goods/get_store_goods_inventory','StoreGoodsController@getStoreGoodsInventory');
  224. $api->post('store_goods/set_store_goods_inventory','StoreGoodsController@setStoreGoodsInventory');
  225. $api->get('store_goods/get_cancel_order_list','StoreGoodsController@getCancelOrderList');
  226. $api->get('store_goods/get_all_refund_order','StoreGoodsController@getAllRefundOrder');
  227. $api->get('store_goods/get_refund_order_detail','StoreGoodsController@getRefundOrderDetail');
  228. $api->post('store_goods/delete_origin_order','StoreGoodsController@deleteOriginOrder');
  229. $api->post('store_goods/cancel_refund_order','StoreGoodsController@cancelRefundOrder');
  230. $api->get('store_goods/get_all_video','StoreGoodsController@getAllVideo');
  231. $api->post('store_goods/aaasss','StoreGoodsController@aaasss');
  232. $api->get('/order/ApplyDestoryOrder','OrdertestController@ApplyDestoryOrder');//订单统计
  233. $api->get('/order/CancleDestoryOrder','OrdertestController@CancleDestoryOrder');//订单统计
  234. $api->post('payment/pay','PaymentController@pay');
  235. $api->post('minipay/pay','MiniPayController@pay');
  236. $api->post('payment/set_bank_info','MiniSubController@setBankInfo');
  237. $api->get('payment/get_bank_info','MiniSubController@getBankInfo');
  238. $api->post('payment/finish','MiniSubController@finish');
  239. $api->group(['prefix'=>'miniSub'], function ($api){
  240. /**小商户进件***/
  241. $api->post('apply_wx','MiniSubController@apply_wx');
  242. /**获取平台证书***/
  243. $api->get('getzhengshu','MiniSubController@getzhengshu');
  244. /**查看进件状态***/
  245. $api->get('query','MiniSubController@query');
  246. $api->get('query123','MiniSubController@query123');
  247. $api->post('uploadmedia','MiniSubController@uploadmedia');
  248. $api->post('upload_img','MiniSubController@uploadImg');
  249. //获取账户信息(可用余额 | 冻结余额)
  250. $api->get('get_account_info','MiniSubController@getAccountInfo');
  251. //商户提现
  252. $api->post('withdrawal','MiniSubController@withdrawal');
  253. //查询提现状态
  254. $api->get('get_withdrawal_states','MiniSubController@getWithdrawalStates');
  255. //下载
  256. $api->get('get_down_withdraw','MiniSubController@getDownWithdraw');
  257. $api->get('down','MiniSubController@down');
  258. //获取银行账户信息
  259. $api->get('get_bank_info','MiniSubController@getBankInfo');
  260. //修改银行账户信息
  261. $api->post('set_bank_info','MiniSubController@setBankInfo');
  262. //获取记录
  263. $api->get('get_account_detail','MiniSubController@getAccountDetail');
  264. //开启点金
  265. $api->post('dianjin','MiniSubController@dianjin');
  266. //开启商家小票
  267. $api->post('business_tips','MiniSubController@businessTips');
  268. //关闭广告
  269. $api->post('adverting','MiniSubController@adverting');
  270. //退款
  271. $api->post('refund_amount','MiniSubController@refundAmount');
  272. //查询退款
  273. $api->get('get_refund_state','MiniSubController@getRefundState');
  274. //查询微信支付
  275. $api->get('get_pay_state','MiniSubController@getPayState');
  276. //获取全部银行
  277. $api->get('get_all_bank','MiniSubController@getAllBank');
  278. //获取银行支行
  279. $api->get('get_bank_branch','MiniSubController@getBankBranch');
  280. //查询分账结果
  281. $api->get('fenzhang','MiniSubController@fenzhang');
  282. });
  283. //微店铺学分管理
  284. $api->group(['prefix'=>'integral'], function ($api){
  285. $api->get('get_store_integral_order_by','IntegralController@getStoreIntegralOrderBy');
  286. $api->get('get_store_order_by','IntegralController@getStoreOrderBy');
  287. $api->get('get_store_detail','IntegralController@getStoreDetail');
  288. $api->get('integral_2','IntegralController@integral_2');
  289. $api->get('get_inte_gifts','IntegralController@getInteGifts');
  290. $api->post('exchange_gifts','IntegralController@exchangeGifts');
  291. $api->post('cancel_exchange_gifts','IntegralController@cancelExchangeGifts');
  292. $api->get('my_exchange','IntegralController@myExchange');
  293. $api->get('my_gifts','IntegralController@myGifts');
  294. $api->get('my_agent_exchange','IntegralController@myAgentExchange');
  295. $api->get('get_agent_gifts','IntegralController@getAgentGifts');
  296. });
  297. $api->group(['prefix'=>'storage'], function ($api){
  298. /**我的***/
  299. $api->get('my_storage','StorageController@my_storage');
  300. /**库存详情***/
  301. $api->get('storage_detail','StorageController@storage_detail');
  302. /***待入库***/
  303. $api->get('put_storage','StorageController@put_storage');
  304. /**入库操作**/
  305. $api->get('put_good_storage','StorageController@put_good_storage');
  306. /**入库记录详情(出库记录、盘库记录)**/
  307. $api->get('put_storage_detail','StorageController@put_storage_detail');
  308. /**入库记录分组**/
  309. $api->get('put_storage_group','StorageController@put_storage_group');
  310. /*获取商品图片**/
  311. $api->get('get_goodimg','StorageController@get_goodimg');
  312. /**一次性盘库**/
  313. $api->post('one_sure_storage','StorageController@one_sure_storage');
  314. /**获取库存**/
  315. $api->get('get_storage','StorageController@get_storage');
  316. /**盘库**/
  317. $api->post('sure_storage','StorageController@sure_storage');
  318. /**出库**/
  319. $api->post('out_storage','StorageController@out_storage');
  320. $api->get('sure_storage_group','StorageController@sure_storage_group');//盘库记录的分组
  321. $api->get('sure_storage_detail','StorageController@sure_storage_detail');//盘库记录的详情
  322. $api->get('put_storage_groups','StorageController@put_storage_groups');//入库记录的分组
  323. $api->get('put_storage_details','StorageController@put_storage_details');//入库记录的详情
  324. $api->post('put_storages','StorageController@put_storages');//入库的详情
  325. $api->get('get_group','StorageController@get_group');//货物相亲
  326. $api->get('get_detail','StorageController@get_detail');
  327. });
  328. // $api->get('/order/look_good','StorageController@look_good');
  329. //消息公告
  330. $api->get('index/get_message_info','IndexController@getMessageInfo');
  331. $api->group(['prefix'=>'studio'],function ($api){
  332. $api->get('studioBonus','StudioOrderController@studioBonus');
  333. });
  334. $api->group(['prefix'=>'apply'],function ($api){
  335. $api->get('GetApplyList','ApplyUserController@GetApplyList');
  336. $api->post('Apply','ApplyUserController@Apply');
  337. $api->post('UploadApplyImg','ApplyUserController@UploadApplyImg');
  338. $api->get('CancleApply','ApplyUserController@CancleApply');
  339. });
  340. $api->group(['prefix'=>'UserSend'],function($api){
  341. /**代理发货操作**/
  342. $api->get('user_send_good','UserGoodSendController@user_send_good');//new
  343. /**货物扫码权限**/
  344. $api->get('get_arr','UserGoodSendController@get_arr');//new
  345. /**获取下级信息**/
  346. $api->get('get_lower_user','UserGoodSendController@get_lower_user');//new
  347. /**退货操作**/
  348. $api->get('user_return_good','UserGoodSendController@user_return_good');//new
  349. /**发货时的信息查询**/
  350. $api->get('select_send_user','UserGoodSendController@select_send_user');//new
  351. /**退款的信息查询*/
  352. $api->get('select_return_user','UserGoodSendController@select_return_user');//new
  353. /***零售**/
  354. $api->get('sell','UserGoodSendController@sell');//new
  355. });
  356. });
  357. $api->post('store_goods/upload_img','StoreGoodsController@uploadImg');
  358. $api->get('store_goods/auth_code','StoreGoodsController@auth_code');
  359. $api->post('payment/notify','PaymentController@notify');
  360. $api->post('minipay/notify','MiniPayController@notify');
  361. //退款
  362. $api->post('payment/refund_notify','PaymentController@refundNotify');
  363. $api->get('/good_show','GoodtestController@good_show');//商品列表
  364. $api->get('/again_order','GoodtestController@again_order');//商品列表
  365. $api->get('/json','IndexController@json');
  366. $api->get('/index','IndexController@index');
  367. $api->get('/indes','IndexController@indes');
  368. // $api->get('/test','IndexController@test');
  369. $api->get('/ress','UserController@ress');
  370. $api->get('/CreateTokenTest','UserController@CreateTokenTest');
  371. $api->get('/show','OrderController@show_index');
  372. /*
  373. * 活动
  374. * */
  375. $api->get('order/order_notpay','OrderController@order_notpay');
  376. /*
  377. * 商品
  378. * */
  379. $api->get('article/show_article','ArticleController@index');
  380. $api->get('article/show_detail','ArticleController@show_detail');
  381. $api->get('/user/auth_sel','UserController@auth_sel');
  382. $api->get('/user/auth_show','UserController@auth_show');
  383. $api->get('/wechat/wechat_data','BasicController@wechat_data');
  384. $api->get('/wechat/return_code','BasicController@return_code');
  385. // $api->get('inventory/detail','GoodSkuTotalController@total_sur');
  386. $api->get('order/my_storage','GoodSkuTotalController@total_sur');//库存
  387. $api->get('system','BasicController@system');
  388. $api->get('send_code','LoginController@send_code');
  389. $api->get('/proxy/updata','ActiveController@active');//代理升级
  390. $api->get('gzh','UserController@gzh');
  391. $api->get('gzhtest','UserController@gzhtest');
  392. $api->get('test/{any}','UserController@test');
  393. $api->get('test','UserController@test');
  394. $api->get('test/{any}/{name}','UserController@test');
  395. $api->get('test/{any}/{name}/{all}','UserController@test');
  396. $api->get('test/{any}/{name}/{all}/{alll}','UserController@test');
  397. $api->get('gzh/{nickname}/{mobile}/{code}',function (){
  398. return '<script>alert("当前链接失效,请联系邀请人重新分享二维码")</script>';
  399. });
  400. $api->get('gzh/{nickname}/{mobile}/{code}/{time}',function (){
  401. return '<script>alert("当前二维码失效,请联系邀请人重新分享二维码")</script>';
  402. });
  403. $api->get('gzh/{nickname}','UserController@gzh');
  404. $api->get('select','UserController@auth_select');
  405. // $api->post('/user/login','UserController@login');
  406. $api->any('/user/login','LoginController@login');
  407. $api->get('/index/login','IndexController@login');
  408. $api->get('/user/token','BasicController@token');
  409. $api->post('/index/info','IndexController@info');
  410. $api->get('/index/get_user_money','IndexController@get_user_money');
  411. $api->get('/index/get_infos','IndexController@get_infos');
  412. $api->get('/index/get_count','IndexController@get_count');
  413. $api->get('/get_address','UserController@get_address');
  414. $api->get('/get_data','OrdertestController@get_data');//获取订单赠品信息
  415. $api->get('user/get_user_re','BasicController@get_user_re');
  416. $api->get('/wechat/wechats','BasicController@wechats');
  417. $api->any('/login/login123','LoginController@setUserInfo');
  418. $api->get('discernAdress','AddressController@DealAddress');
  419. $api->get('GetCache','ApplyUserController@GetCache');
  420. $api->get('setBankInfodemo','MiniSubController@setBankInfodemo');
  421. $api->get('getBankInfodemo','MiniSubController@getBankInfodemo');
  422. $api->get('searchAccount','MiniSubController@searchAccount');
  423. });