diff --git a/app/api/controller/DataCollectController.php b/app/api/controller/DataCollectController.php index 208da856..8f0e6f34 100644 --- a/app/api/controller/DataCollectController.php +++ b/app/api/controller/DataCollectController.php @@ -1,13 +1,14 @@ toArray(); + + return $this->success('接收成功', ['user_name'=>$parmas['username'], 'topic'=>$parmas['topic']]); } catch (Exception $e) { return $this->fail($e->getMessage()); } } + + public function disabled() + { + $parmas = $this->request->post(); + Log::info(json_encode($parmas)); + } } \ No newline at end of file