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