实现注册功能
This commit is contained in:
1 parent
2205526a79
commit
b2dd170884
2 files changed
+74
-55
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import request from '@/config/axios'
|
||||
import { getRefreshToken } from '@/utils/auth'
|
||||
import type {RegisterVO, UserLoginVO} from './types'
|
||||
import type { RegisterVO, UserLoginVO } from './types'
|
||||
|
||||
export interface SmsCodeVO {
|
||||
mobile: string
|
||||
@@ -19,7 +19,6 @@ export const login = (data: UserLoginVO) => {
|
||||
|
||||
// 注册
|
||||
export const register = (data: RegisterVO) => {
|
||||
console.log("data: RegisterVO=========",data)
|
||||
return request.post({ url: '/system/auth/register', data })
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user