update 数据采集接口

This commit is contained in:
chenbo 2023-12-13 11:54:28 +08:00
parent 03bde0d484
commit f36404ae71
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class DataCollectController extends BaseApiController
try {
$parmas = $this->request->post();
Log::info($parmas);
Log::info(json_encode($parmas));
if(!$parmas || !isset($parmas['username']) || $parmas['username']==''){
return $this->fail('参数错误');
}