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
ceaef89b
...
ceaef89b587490d769a1211f92af34aa44c5e751
authored
2024-06-19 10:50:52 +0800
by
赵聪
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
1a84e23d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
app/Http/Controllers/Release/BaseController.php
app/Http/Controllers/Release/BaseController.php
View file @
ceaef89
...
...
@@ -174,13 +174,18 @@ class BaseController extends Controller
}
}
//针对外显-特殊处理
if
(
strpos
(
$params
,
'brandShowName[]'
)
!==
false
)
{
$params
=
str_replace
(
'brandShowName[]'
,
'brandShowName{}'
,
$params
);
}
file_put_contents
(
'1.log'
,
$params
.
"
\r\n\r\n
"
,
FILE_APPEND
);
Log
::
channel
(
'api'
)
->
info
(
__METHOD__
.
':签名参数'
,
[
'common_params'
=>
$common_params
,
'appSecret'
=>
$this
->
appSecret
,
'params'
=>
$params
,
'sign'
=>
strtoupper
(
md5
(
$this
->
appSecret
.
$params
.
$this
->
appSecret
)),
'common_params'
=>
$common_params
,
'appSecret'
=>
$this
->
appSecret
,
'params'
=>
$params
,
'sign'
=>
strtoupper
(
md5
(
$this
->
appSecret
.
$params
.
$this
->
appSecret
)),
]);
return
strtoupper
(
md5
(
$this
->
appSecret
.
$params
.
$this
->
appSecret
));
...
...
Please
register
or
sign in
to post a comment