diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index ed3dfb8..5d4dafa 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -423,7 +423,7 @@ func JudgePackageOrdOrdState(ord *model.Order) *model.Order { } if ordState != oldOrdState { ord.State = ordState - _, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(&ord) + _, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(ord) if err2 != nil { return ord }