|
@@ -162,20 +162,21 @@ func OrdersTikTokGet(nextPositionIndex string, pageSize int, sTime, eTime int64, |
|
|
v["type"] = "csjp" |
|
|
v["type"] = "csjp" |
|
|
} |
|
|
} |
|
|
var ord = &model.GuideOrder{ |
|
|
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 { |
|
|
if utils.StrToInt(v["lm_js_time"]) > 0 { |
|
|
ord.PlatformSettleTime = utils.StrToInt(v["lm_js_time"]) |
|
|
ord.PlatformSettleTime = utils.StrToInt(v["lm_js_time"]) |
|
|