u
This commit is contained in:
1 parent
8663cb2e3d
commit
83cbf18572
34 files changed
+1938
-1350
No files matched your search
@@ -30,8 +30,8 @@ function isWhiteListed(url: string) {
|
||||
}
|
||||
|
||||
const alovaInstance = createAlova({
|
||||
baseURL: 'http://192.168.5.6:8086/app',
|
||||
// baseURL: 'http://192.168.1.137:8086/app',
|
||||
// baseURL: 'http://192.168.5.6:8086/app',
|
||||
baseURL: 'http://192.168.1.137:8086/app',
|
||||
requestAdapter: axiosRequestAdapter(),
|
||||
timeout: 5000,
|
||||
cacheFor: null,
|
||||
|
||||
@@ -1,17 +1,24 @@
|
||||
// 创建空间
|
||||
export interface CreateSpaceParams {
|
||||
|
||||
}
|
||||
|
||||
export interface CreateSpaceResult {
|
||||
id: number
|
||||
// 加入空间
|
||||
export interface JoinSpaceParams {
|
||||
invite_code: string
|
||||
}
|
||||
|
||||
// 解散空间
|
||||
export interface DissolveSpaceParams {
|
||||
export interface JoinSpaceResult {
|
||||
|
||||
}
|
||||
export interface DissolveSpaceResult {
|
||||
|
||||
// 踢出用户
|
||||
export interface KickOutUserParams {
|
||||
space_id: number
|
||||
user_id: number
|
||||
}
|
||||
|
||||
export interface KickOutUserResult {}
|
||||
|
||||
// 退出空间
|
||||
export interface QuitSpaceParams {
|
||||
space_id: number
|
||||
}
|
||||
|
||||
export interface QuitSpaceResult {}
|
||||
|
||||
Reference in new issue
Block a user