From fe0fc325781629b45dab487b9a56e2f9b2368873 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 3 Jul 2024 10:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tik_tok/csjp_life.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tik_tok/csjp_life.go b/tik_tok/csjp_life.go index ca8c3f0..870b4c2 100644 --- a/tik_tok/csjp_life.go +++ b/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 }