test: 测试连通上网
This commit is contained in:
31
src/service/ue/client.ts
Normal file
31
src/service/ue/client.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { request } from '../request';
|
||||
|
||||
/**
|
||||
* 对给定的客户端进行身份验证
|
||||
*/
|
||||
export function clientAuth() {
|
||||
return request<any>({
|
||||
url: '/u/client/auth',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 对给定的客户端进行身份验证
|
||||
*/
|
||||
export function clientUnAuth() {
|
||||
return request<any>({
|
||||
url: '/u/client/unauth',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取客户信息
|
||||
*/
|
||||
export function clientInfo() {
|
||||
return request<any>({
|
||||
url: '/u/client/info',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user