192 lines
11 KiB
PHP
Executable File
192 lines
11 KiB
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| API Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register API routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| is assigned the "api" middleware group. Enjoy building your API!
|
|
|
|
|
*/
|
|
Route::middleware(['log', 'app', 'api'])
|
|
->prefix('customer')
|
|
->namespace('\App\Http\Controllers\Api\Customer')
|
|
->group(function () {
|
|
|
|
Route::get('app/version_info', 'AppController@versionInfo');
|
|
|
|
Route::post('register', 'IndexController@register');
|
|
Route::post('login', 'IndexController@login');
|
|
|
|
Route::get('qrcode', 'IndexController@qrcode');
|
|
|
|
Route::middleware('api.customer_authed')->group(function () {
|
|
Route::any('logout', 'IndexController@logout');
|
|
Route::get('refresh_token', 'IndexController@refreshToken');
|
|
Route::post('switch_account', 'IndexController@switchAccount');
|
|
Route::get('shop', 'IndexController@shop');
|
|
Route::get('current_win', 'IndexController@currentWin');
|
|
Route::post('current_win_viewed', 'IndexController@currentWinViewed');
|
|
|
|
Route::get('lottery/types', 'LotteryController@types');
|
|
Route::get('winning_info', 'IndexController@winningInfo');
|
|
Route::get('win_poster', 'IndexController@winPoster');
|
|
Route::get('win_jczq_result', 'IndexController@winJczqResult');
|
|
Route::get('win_jclq_result', 'IndexController@winJclqResult');
|
|
Route::get('win_ctzq_jqc_result', 'IndexController@winCtzqJqcResult');
|
|
Route::get('win_ctzq_jqc_detail_result', 'IndexController@winCtzqJqcDetailResult');
|
|
Route::get('win_ctzq_bqc_result', 'IndexController@winCtzqBqcResult');
|
|
Route::get('win_ctzq_bqc_detail_result', 'IndexController@winCtzqBqcDetailResult');
|
|
|
|
Route::get('win_shuzi_result', 'IndexController@winShuziResult');
|
|
Route::get('win_shuzi_detail_result', 'IndexController@winShuziDetailResult');
|
|
|
|
Route::get('match/jczq', 'MatchController@jczq');
|
|
Route::get('match/lq', 'MatchController@lq');
|
|
Route::get('match/bjdc', 'MatchController@bjdc');
|
|
|
|
Route::get('jczq/selling', 'JczqController@selling');
|
|
Route::post('jczq/valid', 'JczqController@valid');
|
|
Route::post('jczq/cart', 'JczqController@cart');
|
|
Route::post('jczq/compute', 'JczqController@compute');
|
|
Route::post('jczq/order/create', 'JczqController@orderCreate');
|
|
Route::post('jczq/order/optimize_prize', 'JczqController@optimizePrize');
|
|
|
|
Route::get('jclq/selling', 'JclqController@selling');
|
|
Route::post('jclq/valid', 'JclqController@valid');
|
|
Route::post('jclq/cart', 'JclqController@cart');
|
|
Route::post('jclq/compute', 'JclqController@compute');
|
|
Route::post('jclq/order/create', 'JclqController@orderCreate');
|
|
|
|
Route::get('ctzq_jqc/selling', 'CtzqJqcController@selling');
|
|
Route::post('ctzq_jqc/valid', 'CtzqJqcController@valid');
|
|
Route::post('ctzq_jqc/cart', 'CtzqJqcController@cart');
|
|
Route::post('ctzq_jqc/compute', 'CtzqJqcController@compute');
|
|
Route::post('ctzq_jqc/order/create', 'CtzqJqcController@orderCreate');
|
|
|
|
Route::get('ctzq_bqc/selling', 'CtzqBqcController@selling');
|
|
Route::post('ctzq_bqc/valid', 'CtzqBqcController@valid');
|
|
Route::post('ctzq_bqc/cart', 'CtzqBqcController@cart');
|
|
Route::post('ctzq_bqc/compute', 'CtzqBqcController@compute');
|
|
Route::post('ctzq_bqc/order/create', 'CtzqBqcController@orderCreate');
|
|
|
|
Route::get('ctzq_sfc14/selling', 'CtzqSfc14Controller@selling');
|
|
Route::post('ctzq_sfc14/valid', 'CtzqSfc14Controller@valid');
|
|
Route::post('ctzq_sfc14/cart', 'CtzqSfc14Controller@cart');
|
|
Route::post('ctzq_sfc14/compute', 'CtzqSfc14Controller@compute');
|
|
Route::post('ctzq_sfc14/order/create', 'CtzqSfc14Controller@orderCreate');
|
|
|
|
Route::get('ctzq_sfc9/selling', 'CtzqSfc9Controller@selling');
|
|
Route::post('ctzq_sfc9/valid', 'CtzqSfc9Controller@valid');
|
|
Route::post('ctzq_sfc9/cart', 'CtzqSfc9Controller@cart');
|
|
Route::post('ctzq_sfc9/compute', 'CtzqSfc9Controller@compute');
|
|
Route::post('ctzq_sfc9/order/create', 'CtzqSfc9Controller@orderCreate');
|
|
|
|
Route::get('dlt/selling', 'DltController@selling');
|
|
Route::post('dlt/compute', 'DltController@compute');
|
|
Route::post('dlt/cart', 'DltController@cart');
|
|
Route::post('dlt/order/create', 'DltController@orderCreate');
|
|
|
|
Route::get('qxc/selling', 'QxcController@selling');
|
|
Route::post('qxc/compute', 'QxcController@compute');
|
|
Route::post('qxc/cart', 'QxcController@cart');
|
|
Route::post('qxc/order/create', 'QxcController@orderCreate');
|
|
|
|
Route::get('pls/selling', 'PlsController@selling');
|
|
Route::post('pls/compute', 'PlsController@compute');
|
|
Route::post('pls/cart', 'PlsController@cart');
|
|
Route::post('pls/order/create', 'PlsController@orderCreate');
|
|
|
|
Route::get('plw/selling', 'PlwController@selling');
|
|
Route::post('plw/compute', 'PlwController@compute');
|
|
Route::post('plw/cart', 'PlwController@cart');
|
|
Route::post('plw/order/create', 'PlwController@orderCreate');
|
|
|
|
Route::get('bjdc/selling', 'BjdcController@selling');
|
|
Route::post('bjdc/cart', 'BjdcController@cart');
|
|
Route::post('bjdc/compute', 'BjdcController@compute');
|
|
Route::post('bjdc/order/create', 'BjdcController@orderCreate');
|
|
|
|
Route::get('bjdc_sfgg/selling', 'BjdcSfggController@selling');
|
|
Route::post('bjdc_sfgg/cart', 'BjdcSfggController@cart');
|
|
Route::post('bjdc_sfgg/compute', 'BjdcSfggController@compute');
|
|
Route::post('bjdc_sfgg/order/create', 'BjdcSfggController@orderCreate');
|
|
|
|
|
|
Route::get('guan/selling', 'GuanController@selling');
|
|
Route::post('guan/cart', 'GuanController@cart');
|
|
Route::post('guan/compute', 'GuanController@compute');
|
|
Route::post('guan/order/create', 'GuanController@orderCreate');
|
|
|
|
Route::get('guan_ya/selling', 'GuanYaController@selling');
|
|
Route::post('guan_ya/cart', 'GuanYaController@cart');
|
|
Route::post('guan_ya/compute', 'GuanYaController@compute');
|
|
Route::post('guan_ya/order/create', 'GuanYaController@orderCreate');
|
|
|
|
Route::get('order/da_shen_list', 'OrderController@daShenList');
|
|
Route::get('order/ranking_list', 'OrderController@rankingList');
|
|
Route::get('order/fadan_customers', 'OrderController@fadanCustomers');
|
|
Route::get('order/copies', 'OrderController@copies');
|
|
Route::get('order/show', 'OrderController@show');
|
|
Route::get('order/gendan_list', 'OrderController@gendanList');
|
|
Route::get('order/unions', 'OrderController@unions');
|
|
Route::get('order/union_show', 'OrderController@unionShow');
|
|
Route::get('order/union_pieces', 'OrderController@unionPieces');
|
|
Route::post('order/create_union', 'OrderController@createUnion');
|
|
Route::post('order/copy', 'OrderController@copy');
|
|
|
|
Route::post('wallet/pay_order', 'WalletController@payOrder');
|
|
Route::post('wallet/recharge', 'WalletController@recharge');
|
|
Route::post('wallet/redirect_pay', 'WalletController@redirectPay');
|
|
Route::post('wallet/recharge_query', 'WalletController@rechargeQuery');
|
|
Route::post('wallet/withdraw_money', 'WalletController@withdrawMoney');
|
|
Route::get('wallet/withdraw_list', 'WalletController@withdrawList');
|
|
Route::get('wallet/withdraw_last', 'WalletController@withdrawLast');
|
|
|
|
Route::get('customer/unions', 'CustomerController@unions');
|
|
Route::get('customer/standings', 'CustomerController@standings');
|
|
Route::get('customer/info', 'CustomerController@info');
|
|
Route::get('customer/pay_channel', 'CustomerController@payChannel');
|
|
Route::post('customer/follow', 'CustomerController@follow');
|
|
Route::get('customer/followers', 'CustomerController@followers');
|
|
Route::get('customer/fans', 'CustomerController@fans');
|
|
Route::get('customer/copy_orders', 'CustomerController@copyOrders');
|
|
Route::get('customer/fadan_orders', 'CustomerController@fadanOrders');
|
|
Route::get('customer/bets_record', 'CustomerController@betsRecord');
|
|
Route::get('customer/bills', 'CustomerController@bills');
|
|
Route::post('customer/upload', 'CustomerController@upload');
|
|
Route::post('customer/change_nickname', 'CustomerController@changeNickname');
|
|
Route::post('customer/change_password', 'CustomerController@changePassword');
|
|
Route::post('customer/change_pay_password', 'CustomerController@changePayPassword');
|
|
Route::post('customer/real_verify', 'CustomerController@realVerify');
|
|
Route::post('customer/feedback', 'CustomerController@feedback');
|
|
Route::get('customer/agent_regist', 'CustomerController@agentRegist');
|
|
Route::get('customer/agent_order', 'CustomerController@agentOrder');
|
|
Route::get('customer/agent_order_v2', 'CustomerController@agentOrderV2');
|
|
|
|
Route::post('upload', 'UploadController@index');
|
|
|
|
Route::get('zqoverview/match_info', 'ZqOverviewController@matchInfo');
|
|
Route::get('zqoverview/zhishu', 'ZqOverviewController@zhishu');
|
|
Route::get('zqoverview/probability', 'ZqOverviewController@probability');
|
|
Route::get('zqoverview/score_ranking', 'ZqOverviewController@scoreRanking');
|
|
Route::get('zqoverview/future_match', 'ZqOverviewController@futureMatch');
|
|
Route::get('zqoverview/history_match', 'ZqOverviewController@historyMatch');
|
|
Route::get('zqoverview/battle_match', 'ZqOverviewController@battleMatch');
|
|
Route::get('zqoverview/qingbao', 'ZqOverviewController@qingbao');
|
|
Route::get('zqoverview/live', 'ZqOverviewController@live');
|
|
|
|
Route::get('lqoverview/match_info', 'LqOverviewController@matchInfo');
|
|
Route::get('lqoverview/zhishu', 'LqOverviewController@zhishu');
|
|
Route::get('lqoverview/analysis', 'LqOverviewController@analysis');
|
|
Route::get('lqoverview/qingbao', 'LqOverviewController@qingbao');
|
|
});
|
|
|
|
});
|
|
|