This commit is contained in:
邹宗楠
2022-06-28 15:31:25 +08:00
parent 86f18cc35f
commit 301a430666
5 changed files with 47 additions and 29 deletions

View File

@@ -70,6 +70,7 @@ type Order struct {
CityCode int `orm:"default(0)" json:"cityCode"` //提交订单时用户所在城市
DistrictCode int `orm:"default(0)" json:"districtCode"` // 城市code
Address string `orm:"size(255)" json:"address"` // 地址
PayMethod int `orm:"size(255)" json:"address"` // 支付方式1-余额支付2-直接支付3-微信提现4-支付宝提现
}
func (v *Order) TableUnique() [][]string {