正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -15,6 +15,7 @@ use App\Models\User\ProjectMenu as ProjectMenuModel; | @@ -15,6 +15,7 @@ use App\Models\User\ProjectMenu as ProjectMenuModel; | ||
| 15 | use App\Models\User\ProjectRole as ProjectRoleModel; | 15 | use App\Models\User\ProjectRole as ProjectRoleModel; |
| 16 | use App\Models\User\User; | 16 | use App\Models\User\User; |
| 17 | use Illuminate\Support\Facades\Cache; | 17 | use Illuminate\Support\Facades\Cache; |
| 18 | +use Illuminate\Support\Facades\Hash; | ||
| 18 | 19 | ||
| 19 | /*** | 20 | /*** |
| 20 | * 当前为公共类 | 21 | * 当前为公共类 |
| @@ -345,7 +346,7 @@ class ComController extends BaseController | @@ -345,7 +346,7 @@ class ComController extends BaseController | ||
| 345 | die(); | 346 | die(); |
| 346 | $param = [ | 347 | $param = [ |
| 347 | 'prod_desc'=>$this->param['keyword'], | 348 | 'prod_desc'=>$this->param['keyword'], |
| 348 | - 'token'=>$token, | 349 | + 'token'=>Hash::check($token), |
| 349 | 'total'=>$this->param['now'] ?? 10, | 350 | 'total'=>$this->param['now'] ?? 10, |
| 350 | ]; | 351 | ]; |
| 351 | $lists = http_post($url,$param); | 352 | $lists = http_post($url,$param); |
-
请 注册 或 登录 后发表评论