From add15b9c6e053b4ab8aa91e133402ed176d1ed21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 12 Mar 2024 11:52:05 +0800 Subject: [PATCH] 1 --- platformapi/mtwmapi/poi.go | 4 ++++ 1 file changed, 4 insertions(+) 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, })