*
Showing
1 changed file
with
2 additions
and
5 deletions
| ... | @@ -130,12 +130,12 @@ class BaseController extends Controller | ... | @@ -130,12 +130,12 @@ class BaseController extends Controller |
| 130 | { | 130 | { |
| 131 | $common_params = array_merge($params,$heaers); | 131 | $common_params = array_merge($params,$heaers); |
| 132 | 132 | ||
| 133 | 133 | unset($common_params['tmeBrandId']); | |
| 134 | 134 | ||
| 135 | ksort($common_params); | 135 | ksort($common_params); |
| 136 | $params = ''; | 136 | $params = ''; |
| 137 | 137 | ||
| 138 | print_r($common_params); | 138 | //print_r($common_params); |
| 139 | 139 | ||
| 140 | foreach ($common_params as $k=>$v) | 140 | foreach ($common_params as $k=>$v) |
| 141 | { | 141 | { |
| ... | @@ -149,9 +149,6 @@ class BaseController extends Controller | ... | @@ -149,9 +149,6 @@ class BaseController extends Controller |
| 149 | } | 149 | } |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | var_dump($params); | ||
| 153 | var_dump($this->appSecret . $params . $this->appSecret); | ||
| 154 | exit(); | ||
| 155 | 152 | ||
| 156 | // Log::channel('api')->info($params); | 153 | // Log::channel('api')->info($params); |
| 157 | return strtoupper(md5($this->appSecret . $params . $this->appSecret)); | 154 | return strtoupper(md5($this->appSecret . $params . $this->appSecret)); | ... | ... |
-
Please register or sign in to post a comment