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 }