迁移
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// 后端返回的数据类型
|
||||
export type HttpResponse<T> = {
|
||||
code?: number
|
||||
data?: T
|
||||
msg?: string
|
||||
}
|
||||
|
||||
export type ButtonListParam = {
|
||||
appId: number
|
||||
ip?: string
|
||||
channel?: string | channel //渠道
|
||||
domain?: string
|
||||
version?: string
|
||||
tid?: string
|
||||
}
|
||||
export type channel = {
|
||||
dc?: string
|
||||
pc?: string
|
||||
}
|
||||
|
||||
export type donwloadParam = {
|
||||
appId: number
|
||||
ip: string
|
||||
channel: string | channel //渠道
|
||||
domain: string
|
||||
type: string
|
||||
terminal: string //终端 ios或者android
|
||||
packageType?: number
|
||||
version?: string
|
||||
}
|
||||
export type H5param = {
|
||||
appId: number
|
||||
dc?: string
|
||||
pc?: string
|
||||
[key: string]: number | string | undefined
|
||||
}
|
||||
Reference in New Issue
Block a user