mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-23 19:37:35 +08:00
refactor: 规范状态码、抛出异常的使用
This commit is contained in:
@@ -37,8 +37,6 @@ class StatController extends Controller
|
||||
}
|
||||
};
|
||||
|
||||
return response([
|
||||
'data' => $records
|
||||
]);
|
||||
return $this->success($records);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user