refactor: register page

This commit is contained in:
Tristan Yang
2023-03-02 09:24:42 +08:00
parent be69a9bdac
commit 4c1018dc46
5 changed files with 65 additions and 33 deletions
+5 -1
View File
@@ -78,7 +78,11 @@ export const authApi = createApi({
query: (data) => ({
url: `user/register`,
method: "POST",
body: data
body: {
...data,
gender: 0,
device: "browser"
}
})
}),
// 更新token