Commit 0ae5d70d authored by zazaname's avatar zazaname

调试

parent 8219a57c
...@@ -16,12 +16,21 @@ class ReportController extends Controller ...@@ -16,12 +16,21 @@ class ReportController extends Controller
*/ */
public function init() public function init()
{ {
register_shutdown_function([$this, 'shutdownAction']);
$this->checkParam(['app_id','ctype']); $this->checkParam(['app_id','ctype']);
$indexSv = new InitService(); $indexSv = new InitService();
$data = $indexSv->storeInitData($this->requestData); $data = $indexSv->storeInitData($this->requestData);
return json($data); return json($data);
} }
public function shutdownAction()
{
$error = error_get_last();
if (!is_null($error)) { // 异常退出
dingdingLog($error);
}
}
/** /**
* 角色上报 * 角色上报
* @return \Illuminate\Http\JsonResponse * @return \Illuminate\Http\JsonResponse
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment