瀏覽代碼

更新

master
huangjiajun 7 月之前
父節點
當前提交
83e79f7d51
共有 1 個檔案被更改,包括 15 行新增14 行删除
  1. +15
    -14
      app/task/svc/svc_tik_tok_csjp.go

+ 15
- 14
app/task/svc/svc_tik_tok_csjp.go 查看文件

@@ -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"])


Loading…
取消
儲存