Merge branch 'develop' into feature/mzl_dev_curd

This commit is contained in:
mzl
2025-07-21 15:10:14 +08:00
parent 45679bc5e4
commit 149de9d6fb
35 changed files with 2112 additions and 16 deletions
+10
View File
@@ -64,4 +64,14 @@ class IndexController
return json(['code' => 1, 'msg' => $e->getMessage()]);
}
}
// test function
public function test(Request $request)
{
$user = User::find(1);
$user->roles()->sync([1]);
$user->systems()->sync([1]);
return json(['code' => 0, 'msg' => 'success']);
}
}