百度地图api通过经纬度获取地理位置

This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-07-20 14:50:46 +08:00
parent b92c77d64a
commit e5d77b4d6c
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,6 @@ import com.ghy.common.core.controller.BaseController;
import com.ghy.common.core.domain.AjaxResult;
import com.ghy.common.utils.ExceptionUtil;
import com.ghy.common.utils.http.HttpUtils;
import com.google.gson.JsonObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
@ -15,6 +14,10 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* 百度地图逆解析
* @author clunt
*/
@Controller
@RequestMapping("/tool/baidu")
public class BaiduController extends BaseController {