瀏覽代碼

抖音本地

master
huangjiajun 5 月之前
父節點
當前提交
fe0fc32578
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      tik_tok/csjp_life.go

+ 3
- 2
tik_tok/csjp_life.go 查看文件

@@ -114,7 +114,7 @@ func CsjpLifeGetCommand(args map[string]string) (map[string]string, error) {
}

//4.3 订单接口
func CsjpLifeGetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64) {
func CsjpLifeGetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64, bool) {
params := map[string]interface{}{
"count": zhios_third_party_utils.StrToInt(args["count"]),
}
@@ -136,5 +136,6 @@ func CsjpLifeGetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64) {
data := gjson.Get(send, "data.order_list").String()
list := make([]csjp.CsjpOrder, 0)
json.Unmarshal([]byte(data), &list)
return &list, cursor
hasMore := gjson.Get(send, "data.has_more").Bool()
return &list, cursor, hasMore
}

Loading…
取消
儲存