create('sanguo', true); }); // 授权 Route::group( [ 'prefix' => '/auth', ], function () { Route::post('/login', 'AuthController@login')->name('auth.login'); Route::post('/refresh/token', 'AuthController@refreshToken')->name('auth.refresh'); } ); // 上传 /*Route::group( [ 'prefix' => '/upload', ], function () { // Plupload上传. Route::any('/plupload', 'PluploadController@upload'); // 百度UEditor Route::any('/ueditor', 'UeditorController@service'); } );*/ // 管理员 Route::group( [ 'prefix' => '/agent', ], function () { // 代理列表 Route::post('/lists', 'AgentController@lists'); // 代理添加 Route::post('/create', 'AgentController@create'); // 账户信息修改 Route::post('/modify', 'AgentController@modify'); // 账户信息. Route::post('/detail/me', 'AgentController@detailMe'); // 匹配用户名 Route::post('check/username', 'AgentController@checkUsername'); // 修改下级用户 Route::post('edit/level/agent', 'AgentController@editLevelAgent'); } ); // 提现管理 Route::group( [ 'prefix' => '/withdraw', ], function () { // 列表 Route::post('/lists', 'WithdrawController@lists'); // 发起提现申请 Route::post('/apply', 'WithdrawController@apply'); //账户详情 Route::post('/account/info', 'WithdrawController@accountInfo'); // 提现方式列表. Route::post('/bank/info', 'WithdrawController@bankInfo'); // 新增提现方式 Route::post('/bank/create', 'WithdrawController@bankCreate'); // usdtNetWork Route::post('/usdt/net', 'WithdrawController@usdtNetWork'); } ); // 分享管理 Route::group( [ 'prefix' => '/share', ], function () { // 分享链接列表 Route::post('/lists', 'ShareUrlController@lists'); } ); // APP应用 Route::group( [ 'prefix' => '/app', ], function () { // 应用列表 Route::post('/lists', 'AppController@lists'); Route::post('/pack', 'AppController@pack'); } ); // 统计 Route::group( [ 'prefix' => '/total', ], function () { // 首页 Route::post('/home', 'TotalController@home'); // 统计列表 Route::post('/lists', 'TotalController@lists'); // cpa统计 Route::post('/cpa/lists', 'TotalController@cpaLists'); } );