debug
This commit is contained in:
parent
889c06ca96
commit
5a8ac9fe86
|
@ -3,6 +3,7 @@ namespace app\api\controller;
|
|||
|
||||
use app\common\model\LandCollection;
|
||||
use Exception;
|
||||
use think\facade\Log;
|
||||
|
||||
class DataCollectController extends BaseApiController
|
||||
{
|
||||
|
@ -11,7 +12,9 @@ class DataCollectController extends BaseApiController
|
|||
public function collect()
|
||||
{
|
||||
try {
|
||||
|
||||
$parmas = $this->request->post();
|
||||
Log::info($parmas);
|
||||
if(!$parmas || !isset($parmas['username']) || $parmas['username']==''){
|
||||
return $this->fail('参数错误');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue