Quellcode durchsuchen

抖音本地

master
huangjiajun vor 5 Monaten
Ursprung
Commit
fe0fc32578
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. +3
    -2
      tik_tok/csjp_life.go

+ 3
- 2
tik_tok/csjp_life.go Datei anzeigen

@@ -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
}

Laden…
Abbrechen
Speichern