将DataResource.IsVendor改为UseType

This commit is contained in:
gazebo
2019-09-27 09:23:11 +08:00
parent 67f1c3bf77
commit 88fa351cbb
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ type DataResource struct {
ResourceType string `orm:"size(48)" json:"resourceType"` // 资料的mime type
Name string `orm:"size(48);index" json:"name"`
IsVendor int8 `json:"isVendor"` // 是否是平台需要的(平台需要才会上传平台)
UseType int8 `json:"isVendor"` // 图资源使用方式大于0才可能需要上传平台)
MainURL string `orm:"size(512);column(main_url);unique" json:"mainURL"`
QiniuURL string `orm:"size(512);column(qiniu_url);index" json:"qiniuURL"`