【新增】对象存储

This commit is contained in:
PandaGoAdmin
2022-01-13 17:48:45 +08:00
parent 2f4995753a
commit 9094780f40
25 changed files with 777 additions and 22 deletions

View File

@@ -0,0 +1,7 @@
package entity
/**
* @Description 添加qq群467890197 交流学习
* @Author 熊猫
* @Date 2022/1/13 14:47
**/

View File

@@ -0,0 +1,24 @@
package entity
import "pandax/base/model"
/**
* @Description 添加qq群467890197 交流学习
* @Author 熊猫
* @Date 2022/1/13 14:47
**/
type ResOss struct {
OssId int64 `json:"ossId" gorm:"primaryKey;AUTO_INCREMENT;comment:主键编码"`
Category string `json:"category" grom:"type:varchar(1);comment:种类"` // 0 阿里云 1.七牛云 2. 腾讯云
AppId string `json:"appId" gorm:"type:varchar(128);comment:AppId"`
AccessKey string `json:"accessKey" gorm:"type:varchar(128);comment:accessKey"`
SecretKey string `json:"secretKey" gorm:"type:varchar(128);comment:secretKey"`
BucketName string `json:"bucketName" gorm:"type:varchar(128);comment:bucketName"`
Endpoint string `json:"endpoint" gorm:"type:varchar(128);comment:endpoint"`
OssCode string `json:"ossCode" gorm:"type:varchar(128);comment:ossCode"`
Region string `json:"region" gorm:"type:varchar(128);comment:地址"`
Remark string `json:"remark" gorm:"type:varchar(128);comment:说明"`
Status string `json:"status" gorm:"type:varchar(1);comment:状态"` // 0.启用 1.禁止
model.BaseModel
}

View File

@@ -0,0 +1,7 @@
package entity
/**
* @Description 添加qq群467890197 交流学习
* @Author 熊猫
* @Date 2022/1/13 14:47
**/