diff --git a/app/svc/svc_settle_center.go b/app/svc/svc_settle_center.go index fd375e1..2939fb0 100644 --- a/app/svc/svc_settle_center.go +++ b/app/svc/svc_settle_center.go @@ -122,7 +122,7 @@ func SettleCenterInvoiceSave(c *gin.Context, req md.InvoiceReq) { return } data.PayState = 2 - engine.Where("id=?", data.Id).Cols("pay_sate").Update(data) + engine.Where("id=?", data.Id).Cols("pay_state").Update(data) NewMediumInvoiceDb := implement.NewMediumInvoiceDb(engine) invoice, _ := NewMediumInvoiceDb.GetMediumInvoice(data.Id) if invoice == nil {