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