From 93b52510ec7b31c55d3514228b15bf3080b410f1 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 2 Jul 2024 17:57:48 +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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tik_tok/csjp_life.go b/tik_tok/csjp_life.go index 1f7bfa0..29aa687 100644 --- a/tik_tok/csjp_life.go +++ b/tik_tok/csjp_life.go @@ -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"]), }