Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
cffb577740
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/task/svc/svc_tik_tok_task_money.go

+ 3
- 1
app/task/svc/svc_tik_tok_task_money.go View File

@@ -129,9 +129,11 @@ func TikTokTaskMoney(types string) {
ord := playletSaleOrderDb.GetPlayletVideoOrderByOid(tmp.Oid, tmp.OrdType)
tmp.Status = "订单付款"
if ord != nil {
if ord.CustomOid == "" {
tmp.CustomOid = utils.OrderUUID(tmp.SubUid)
}
playletSaleOrderDb.PlayletVideoOrderUpdate(ord.Id, &tmp)
} else {
tmp.CustomOid = utils.OrderUUID(tmp.SubUid)
playletSaleOrderDb.PlayletVideoOrderInsert(&tmp)
}
}


Loading…
Cancel
Save