admin.php
857 Bytes
<?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::group([], function (){
//提现审核通过
Route::post('musician/withdraw', 'MusicianWithdrawController@withdraw');
Route::get('no', function (\Illuminate\Http\Request $request){
if ($request->input('token') != 'xlb') {
return 'fail';
}
$no = json_encode(['type'=>1, 'identifier'=>$request->input('no')]);
return \App\Helper\AesEncrypt::encrypt($no);
});
});