refactor(dri/baidu):优化导入路径和代码结构
- 更新了导入路径,使用了新的 "code.hoteas.com/golang/hotime/common" 路径 - 删除了未使用的变量和导入语句,简化了代码结构
This commit is contained in:
parent
9766648536
commit
678686fd48
@ -1,7 +1,7 @@
|
|||||||
package baidu
|
package baidu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "co
|
. "code.hoteas.com/golang/hotime/common"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -108,9 +108,7 @@ func (that *baiduMap) GetAddress(lat string, lng string) (string, error) {
|
|||||||
return string(body), err
|
return string(body), err
|
||||||
|
|
||||||
}
|
}
|
||||||
dy))
|
|
||||||
|
|
||||||
return string(b
|
|
||||||
// GetPosition 获取定位列表
|
// GetPosition 获取定位列表
|
||||||
func (that *baiduMap) GetPosition(name string, region string) (string, error) {
|
func (that *baiduMap) GetPosition(name string, region string) (string, error) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user