Commit ae785bc1 ae785bc1c3f4ee3905e924076aee7ca5e0818d81 by lemon

*

1 parent bb64f702
...@@ -16,8 +16,12 @@ Route::group([], function (){ ...@@ -16,8 +16,12 @@ Route::group([], function (){
16 //提现审核通过 16 //提现审核通过
17 Route::post('musician/withdraw', 'MusicianWithdrawController@withdraw'); 17 Route::post('musician/withdraw', 'MusicianWithdrawController@withdraw');
18 18
19 Route::get('no', function (){ 19 Route::get('no', function (\Illuminate\Http\Request $request){
20 $no = json_encode(['type'=>1, 'identifier'=>'341281199711060202']); 20 if ($request->input('token') != 'xlb') {
21 var_dump(\App\Helper\AesEncrypt::encrypt($no)); 21 return 'fail';
22 }
23
24 $no = json_encode(['type'=>1, 'identifier'=>$request->input('no')]);
25 return \App\Helper\AesEncrypt::encrypt($no);
22 }); 26 });
23 }); 27 });
......