huangjiajun pirms 1 gada
vecāks
revīzija
b1bca6dfac
2 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      app/db/model/ord_list.go
  2. +2
    -0
      consume/zhios_fast_return_order_success.go

+ 1
- 0
app/db/model/ord_list.go Parādīt failu

@@ -53,4 +53,5 @@ type OrdList struct {
FastSignId string `xorm:"not null default '' VARCHAR(100)" json:"fast_sign_id"`
TransferSignId string `xorm:"not null default '' VARCHAR(100)" json:"transfer_sign_id"`
IsTransfer int `xorm:"not null default 0 INT(1)" json:"is_transfer"`
FastSuccess int `xorm:"not null default 0 INT(1)" json:"fast_success"`
}

+ 2
- 0
consume/zhios_fast_return_order_success.go Parādīt failu

@@ -94,5 +94,7 @@ func handleZhiosFastReturnOrderSuccess(msg []byte) error {
if finish.ZhimaCreditPayafteruseCreditbizorderFinishResponse.Code != "10000" {
return errors.New("err")
}
orderData.FastSuccess = 1
eg.Where("ord_id=?", orderData.OrdId).Cols("fast_success").Update(&orderData)
return nil
}

Notiek ielāde…
Atcelt
Saglabāt