update 数据采集接口
This commit is contained in:
parent
03bde0d484
commit
f36404ae71
|
@ -14,7 +14,7 @@ class DataCollectController extends BaseApiController
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$parmas = $this->request->post();
|
$parmas = $this->request->post();
|
||||||
Log::info($parmas);
|
Log::info(json_encode($parmas));
|
||||||
if(!$parmas || !isset($parmas['username']) || $parmas['username']==''){
|
if(!$parmas || !isset($parmas['username']) || $parmas['username']==''){
|
||||||
return $this->fail('参数错误');
|
return $this->fail('参数错误');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue