mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 11:02:25 +00:00
14 lines
380 B
JavaScript
14 lines
380 B
JavaScript
import request from '@/utils/request'
|
|
import { CLIENT_TYPE, CLIENT_NAME, CLIENT_VERSION } from '@/const/userConst'
|
|
|
|
export const userRegisterService = ({ username, password }) => {
|
|
request.post('/user/register', {
|
|
account: username,
|
|
nickName: '',
|
|
password: password,
|
|
clientType: CLIENT_TYPE,
|
|
clientName: CLIENT_NAME,
|
|
clientVersion: CLIENT_VERSION
|
|
})
|
|
}
|