This commit is contained in:
邹宗楠
2024-03-12 11:52:05 +08:00
parent 42071c776c
commit add15b9c6e

View File

@@ -115,14 +115,18 @@ func (a *API) PoiOpen(poiCode string) (err error) {
return err
}
// PoiOffline 接口已经下线了,现在默认打开
func (a *API) PoiOffline(poiCode string) (err error) {
return nil
_, err = a.AccessAPI("poi/offline", false, map[string]interface{}{
KeyAppPoiCode: poiCode,
})
return err
}
// PoiOnline 接口已经下线了,现在默认打开
func (a *API) PoiOnline(poiCode string) (err error) {
return nil
_, err = a.AccessAPI("poi/online", false, map[string]interface{}{
KeyAppPoiCode: poiCode,
})