huangjiajun pirms 7 mēnešiem
vecāks
revīzija
83e79f7d51
1 mainītis faili ar 15 papildinājumiem un 14 dzēšanām
  1. +15
    -14
      app/task/svc/svc_tik_tok_csjp.go

+ 15
- 14
app/task/svc/svc_tik_tok_csjp.go Parādīt failu

@@ -162,20 +162,21 @@ func OrdersTikTokGet(nextPositionIndex string, pageSize int, sTime, eTime int64,
v["type"] = "csjp"
}
var ord = &model.GuideOrder{
Oid: utils.StrToInt64(utils.OrderUUID(utils.StrToInt(v["uid"]))),
Uid: utils.StrToInt(v["mid"]),
StationUid: utils.StrToInt(v["uid"]),
PvdOid: utils.AnyToString(v["oid"]),
Status: v["status"],
CreateTime: utils.StrToInt(v["create_time"]),
UpdateTime: int(time.Now().Unix()),
Commission: v["commission"],
Title: utils.AnyToString(v["info"]),
Payment: v["payment"],
Pvd: v["type"],
Img: v["product_img"],
IsShare: orderType,
Gid: v["product_id"],
Oid: utils.StrToInt64(utils.OrderUUID(utils.StrToInt(v["uid"]))),
Uid: utils.StrToInt(v["mid"]),
StationUid: utils.StrToInt(v["uid"]),
PvdOid: utils.AnyToString(v["oid"]),
Status: v["status"],
CreateTime: utils.StrToInt(v["create_time"]),
UpdateTime: int(time.Now().Unix()),
Commission: v["commission"],
RealCommission: v["commission"],
Title: utils.AnyToString(v["info"]),
Payment: v["payment"],
Pvd: v["type"],
Img: v["product_img"],
IsShare: orderType,
Gid: v["product_id"],
}
if utils.StrToInt(v["lm_js_time"]) > 0 {
ord.PlatformSettleTime = utils.StrToInt(v["lm_js_time"])


Notiek ielāde…
Atcelt
Saglabāt