正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
| @@ -342,11 +342,9 @@ class ComController extends BaseController | @@ -342,11 +342,9 @@ class ComController extends BaseController | ||
| 342 | ]; | 342 | ]; |
| 343 | arsort($data); | 343 | arsort($data); |
| 344 | $token = hash('sha256','company_list+'.date('Y-m-d').'+'.http_build_query($data)); | 344 | $token = hash('sha256','company_list+'.date('Y-m-d').'+'.http_build_query($data)); |
| 345 | - var_dump('company_list+'.date('Y-m-d').'+'.http_build_query($data)); | ||
| 346 | - die(); | ||
| 347 | $param = [ | 345 | $param = [ |
| 348 | 'prod_desc'=>$this->param['keyword'], | 346 | 'prod_desc'=>$this->param['keyword'], |
| 349 | - 'token'=>Hash::check($token), | 347 | + 'token'=>Hash::make($token), |
| 350 | 'total'=>$this->param['now'] ?? 10, | 348 | 'total'=>$this->param['now'] ?? 10, |
| 351 | ]; | 349 | ]; |
| 352 | $lists = http_post($url,$param); | 350 | $lists = http_post($url,$param); |
-
请 注册 或 登录 后发表评论