refactor(dri/baidu):优化导入路径和代码结构

- 更新了导入路径,使用了新的 "code.hoteas.com/golang/hotime/common" 路径
- 删除了未使用的变量和导入语句,简化了代码结构
This commit is contained in:
hoteas 2025-04-11 02:09:57 +08:00
parent 9766648536
commit 678686fd48

View File

@ -1,7 +1,7 @@
package baidu
import (
. "co
. "code.hoteas.com/golang/hotime/common"
"fmt"
"io/ioutil"
"net/http"
@ -108,9 +108,7 @@ func (that *baiduMap) GetAddress(lat string, lng string) (string, error) {
return string(body), err
}
dy))
return string(b
// GetPosition 获取定位列表
func (that *baiduMap) GetPosition(name string, region string) (string, error) {