Files
91fans_landpage/src/api/interface/index.ts
T
2026-09-15 18:00:56 +07:00

33 lines
652 B
TypeScript

// 后端返回的数据类型
export type HttpResponse<T> = {
code?: number
data?: T
msg?: string
}
export type ButtonListParam = {
appId: number
ip?: string
channel?: string | channel //渠道
}
export type channel = {
dc?: string
pc?: string
}
export type donwloadParam = {
appId: number
ip: string
channel: string | channel //渠道
domain: string
type: string // iosStore / iosDown / iosTF / iosH5
terminal: string //终端 ios或者android
packageType?: number // 1 企业签 / 2 商店包 / 3 TF
}
export type H5param = {
appId: number
dc?: string
pc?: string
[key: string]: number | string | undefined
}