feat: 更新用户、订单、媒体资产和租户模型,添加新的字段类型和结构体
This commit is contained in:
9
backend/database/fields/users.go
Normal file
9
backend/database/fields/users.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package fields
|
||||
|
||||
// UserLocation 用户位置信息
|
||||
type UserLocation struct {
|
||||
Province string `json:"province"`
|
||||
City string `json:"city"`
|
||||
District string `json:"district,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user