Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ae785bc1
...
ae785bc1c3f4ee3905e924076aee7ca5e0818d81
authored
2021-07-01 14:38:26 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
bb64f702
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
routes/admin.php
routes/admin.php
View file @
ae785bc
...
...
@@ -16,8 +16,12 @@ Route::group([], function (){
//提现审核通过
Route
::
post
(
'musician/withdraw'
,
'MusicianWithdrawController@withdraw'
);
Route
::
get
(
'no'
,
function
(){
$no
=
json_encode
([
'type'
=>
1
,
'identifier'
=>
'341281199711060202'
]);
var_dump
(
\App\Helper\AesEncrypt
::
encrypt
(
$no
));
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
);
});
});
...
...
Please
register
or
sign in
to post a comment