diff --git a/business/model/user_vendor_order.go b/business/model/user_vendor_order.go index f6fcb4f28..c82ed9e3a 100644 --- a/business/model/user_vendor_order.go +++ b/business/model/user_vendor_order.go @@ -33,7 +33,7 @@ type UserVendorOrder struct { Increment float64 `orm:"column(increment)" json:"increment"` // 增值(物流) ChannelType int `orm:"size(8);column(channel_type)" json:"channelType"` // 渠道类型(1-快递,2-物流,3-国际物流,4-整车) OrderStatus int `orm:"size(8);column(order_status)" json:"orderType"` // 订单状态(2-待支付,3-支付失败,4-支付成功,10预下单11待取件12运输中15已签收16取消订单17终止揽收,150取消) - Img string `orm:"size(512);column(img)" json:"img"` // 包裹图片 + Img string `orm:"size(1024);column(img)" json:"img"` // 包裹图片 IsForward int `orm:"column(is_forward)" json:"isForward"` // 1否,2是 转寄单 } diff --git a/business/q_bida/withdrawal_record.go b/business/q_bida/withdrawal_record.go index b43db3409..5738575ce 100644 --- a/business/q_bida/withdrawal_record.go +++ b/business/q_bida/withdrawal_record.go @@ -195,7 +195,7 @@ func ManagerExamineWithdrawal(userId, orderId string, examineStatus int, phone, order.Remark = remark order.LastOperator = phone order.UpdatedAt = time.Now() - _, err := dao.UpdateEntity(dao.GetDB(), &order, "OrderStatus", "Remark", "LastOperator", "UpdatedAt") + _, err := dao.UpdateEntity(dao.GetDB(), order, "OrderStatus", "Remark", "LastOperator", "UpdatedAt") return err } @@ -209,7 +209,7 @@ func ManagerExamineWithdrawal(userId, orderId string, examineStatus int, phone, order.Remark = "当前用户余额,小于提现金额。请重新发起支付" order.LastOperator = phone order.UpdatedAt = time.Now() - _, err := dao.UpdateEntity(dao.GetDB(), &order, "OrderStatus", "Remark", "LastOperator", "UpdatedAt") + _, err := dao.UpdateEntity(dao.GetDB(), order, "OrderStatus", "Remark", "LastOperator", "UpdatedAt") if err != nil { return err }