|
@@ -3,8 +3,8 @@ import {
|
|
} from '@/utils/request.js'
|
|
} from '@/utils/request.js'
|
|
|
|
|
|
// 提交注册
|
|
// 提交注册
|
|
-export function Api_setRegister() {
|
|
|
|
- return axios.get(`/api/user/register`)
|
|
|
|
|
|
+export function Api_setRegister(data) {
|
|
|
|
+ return axios.post(`/api/user/register` , data)
|
|
}
|
|
}
|
|
|
|
|
|
// 发送邮箱验证码
|
|
// 发送邮箱验证码
|