mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-12-05 20:29:10 +00:00
仓库中添加内置的demo
This commit is contained in:
28
demo/assets/script/Net/header.ts
Normal file
28
demo/assets/script/Net/header.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* @Author: Gongxh
|
||||
* @Date: 2024-12-28
|
||||
* @Description:
|
||||
*/
|
||||
|
||||
export interface INetResponse {
|
||||
responseStatus: number;
|
||||
packet: any;
|
||||
}
|
||||
|
||||
export interface IServerInfo {
|
||||
/** 名称 */
|
||||
name: string,
|
||||
/** http地址 */
|
||||
url: string,
|
||||
/** 应用id */
|
||||
appid: string,
|
||||
/** 密钥 */
|
||||
secret: string,
|
||||
}
|
||||
|
||||
export const ServerConfig: IServerInfo = {
|
||||
name: "dev-gblnn",
|
||||
url: "",
|
||||
appid: "",
|
||||
secret: "",
|
||||
}
|
||||
Reference in New Issue
Block a user