Browse Source

更新

order_statistics
huangjiajun 6 months ago
parent
commit
6f08bf3935
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      app/db/offical/model/express_agent_money_flow.go
  2. +1
    -0
      consume/zhios_express_order_fail.go

+ 1
- 0
app/db/offical/model/express_agent_money_flow.go View File

@@ -13,4 +13,5 @@ type ExpressAgentMoneyFlow struct {
AfterAmount string `json:"after_amount" xorm:"default 0.00 DECIMAL(20,2)"`
Oid string `json:"oid" xorm:"VARCHAR(255)"`
Title string `json:"title" xorm:"VARCHAR(255)"`
Puid int `json:"puid" xorm:"default 0 INT(11)"`
}

+ 1
- 0
consume/zhios_express_order_fail.go View File

@@ -153,6 +153,7 @@ func agentDeduct(oid string, base map[string]string, price string) (error, int)
return e.NewErr(400, "平台预存款扣除失败!"), 0
}
var flow = &model.ExpressAgentMoneyFlow{
Puid: utils.StrToInt(base["puid"]),
Uid: user.Uid,
Type: 0,
Time: time.Now(),


Loading…
Cancel
Save