*
Showing
1 changed file
with
7 additions
and
3 deletions
... | @@ -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 | }); | ... | ... |
-
Please register or sign in to post a comment