This commit is contained in:
邹宗楠
2023-03-07 16:26:02 +08:00
parent 97699b2670
commit fbced4982b
4 changed files with 5 additions and 6 deletions

View File

@@ -128,8 +128,7 @@ func TestShopIDBatchUpdate(t *testing.T) {
fShopIDs []string
)
key := map[int64]string{
2235877567: "100920",
508281125: "6688759",
509107995: "668893",
}
for k, v := range key {
k1 := utils.Int64ToStr(k)

View File

@@ -43,8 +43,8 @@ func TestPoiSave(t *testing.T) {
//}
poiParams := map[string]interface{}{}
//utils.FilterMapNilMembers(utils.Struct2FlatMap(result[0]))
poiParams["address"] = "云南省楚雄彝族自治州楚雄市鹿城镇陈家槽子村小吃一条街B21号"
err := api.PoiSave("15467875", poiParams)
poiParams["address"] = "成都市温江区柳城学海路585号"
err := api.PoiSave("336435", poiParams)
fmt.Println(err)
}

View File

@@ -18,7 +18,7 @@ import (
// "authority_id": ""
//}`
var token = `{"access_token":"f1ee4188-d49a-4eaf-9cb8-7d754a23d19e","expires_in":1678053416,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"08ce6c28-37b4-4c3e-9942-7d078c551bc2","authority_id":""}`
var token = `{"access_token":"26a0ee33-fca9-4b80-980a-3d6cf48ca159","expires_in":1678656378,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"ef12dcb4-766d-4e6b-905d-448a25279431","authority_id":""}`
//var token = `{"access_token":"e3173e9f-266f-4d87-88e7-e7cd837bc9d9","expires_in":1672882632,"scope":"SCOPE","shop_id":68023619,"shop_name":"京西到家","refresh_token":"5070aae2-493f-46bd-b5d6-6ea0cd64729f","authority_id":""}`

View File

@@ -21,7 +21,7 @@ func TestApi(t *testing.T) {
}
func TestQueryOrderDetail(t *testing.T) {
data, err := a.GetTiktokOrderDetail("5038446046747543348")
data, err := a.GetTiktokOrderDetail("5042256005213816296")
globals.SugarLogger.Debugf("=====%s", utils.Format4Output(data, false))
globals.SugarLogger.Debugf("=====%s", err)
}