diff --git a/platformapi/mtwmapi/poi.go b/platformapi/mtwmapi/poi.go index 530bb3f2..a2867930 100644 --- a/platformapi/mtwmapi/poi.go +++ b/platformapi/mtwmapi/poi.go @@ -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, })