1
This commit is contained in:
@@ -44,10 +44,10 @@ func TestPoiSave(t *testing.T) {
|
||||
//}
|
||||
poiParams := map[string]interface{}{}
|
||||
//utils.FilterMapNilMembers(utils.Struct2FlatMap(result[0]))
|
||||
poiParams["address"] = "北京市朝阳区百子湾路32号院6号楼-1层C3-1号"
|
||||
//poiParams["pic_url"] = "http://image.jxc4.com/image/5c9fc4fffb4d5ff1aecf85a2d2543e00.jpg"
|
||||
//poiParams["address"] = "北京市朝阳区百子湾路32号院6号楼-1层C3-1号"
|
||||
poiParams["pic_url"] = "https://image.jxc4.com/image/259873ec6392f963d2f3d30669d1c0a9.jpg"
|
||||
//poiParams["name"] = "京西菜市(礼嘉桥村市场店)"
|
||||
err := api.PoiSave("18830143", poiParams)
|
||||
err := api.PoiSave("15070168", poiParams)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
@@ -169,6 +169,14 @@ func TestGetBoundList(t *testing.T) {
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestGetSettleAuditList(t *testing.T) {
|
||||
result, err := api.GetSettleAuditList("15478260,18830667")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
type Name struct {
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user