first commit

This commit is contained in:
Your Name
2024-12-26 16:41:17 +08:00
commit f8abb65023
101 changed files with 15618 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
// 全局要用的类型放到这里
type IResData<T> = {
code: number
msg: string
data: T
}
// uni.uploadFile文件上传参数
type IUniUploadFileOptions = {
file?: File
files?: UniApp.UploadFileOptionFiles[]
filePath?: string
name?: string
formData?: any
}
type IUserInfo = {
nickname?: string
avatar?: string
/** 微信的 openid,非微信没有这个字段 */
openid?: string
token?: string
}
enum TestEnum {
A = 'a',
B = 'b',
}