Quellcode durchsuchen

抖音本地

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

+ 5
- 5
tik_tok/csjp_life.go Datei anzeigen

@@ -9,7 +9,7 @@ import (
)

//4.2.1 商品列表接口
func GetGoods(args map[string]string) (*[]csjp.CsjpProductList, int64) {
func CsjpLifeGetGoods(args map[string]string) (*[]csjp.CsjpProductList, int64) {
params := map[string]interface{}{
"count": zhios_third_party_utils.StrToInt(args["count"]),
}
@@ -50,7 +50,7 @@ func GetGoods(args map[string]string) (*[]csjp.CsjpProductList, int64) {
}

//4.2.2 商品详情接口
func GetGoodsDetail(args map[string]string) *csjp.CsjpProductList {
func CsjpLifeGetGoodsDetail(args map[string]string) *csjp.CsjpProductList {
params := map[string]interface{}{
"product_id_list": []int64{zhios_third_party_utils.StrToInt64(args["gid"])},
}
@@ -70,7 +70,7 @@ func GetGoodsDetail(args map[string]string) *csjp.CsjpProductList {
}

//4.2.3 商品转链接口
func GetLink(args map[string]string) (map[string]string, error) {
func CsjpLifeGetLink(args map[string]string) (map[string]string, error) {
params := map[string]interface{}{
"command": args["command"],
"command_external_info": args["command_external_info"],
@@ -100,7 +100,7 @@ func GetLink(args map[string]string) (map[string]string, error) {
}

//4.2.4 商品转链解析接口
func GetCommand(args map[string]string) (map[string]string, error) {
func CsjpLifeGetCommand(args map[string]string) (map[string]string, error) {
params := map[string]interface{}{
"command": args["command"],
}
@@ -113,7 +113,7 @@ func GetCommand(args map[string]string) (map[string]string, error) {
}

//4.3 订单接口
func GetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64) {
func CsjpLifeGetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64) {
params := map[string]interface{}{
"count": zhios_third_party_utils.StrToInt(args["count"]),
}


Laden…
Abbrechen
Speichern