2
0

test: 测试连通上网

This commit is contained in:
TsMask
2024-12-06 21:30:39 +08:00
parent 850ccff852
commit e637781987
2 changed files with 71 additions and 1 deletions

31
src/service/ue/client.ts Normal file
View 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'
});
}