🎨 改进结构

This commit is contained in:
Wisp X
2022-03-07 08:19:43 +08:00
parent cebf64a4bb
commit 43f8900cdd
14 changed files with 40 additions and 40 deletions
@@ -55,7 +55,7 @@ class UserController extends Controller
$user->group_id = $validated['group_id'];
if (!$user->save()) {
return $this->error('保存失败');
return $this->fail('保存失败');
}
return $this->success('保存成功');
}