mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
对接浙江平台
This commit is contained in:
18
jsowell-admin/src/main/java/com/jsowell/api/thirdparty/MapController.java
vendored
Normal file
18
jsowell-admin/src/main/java/com/jsowell/api/thirdparty/MapController.java
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.jsowell.api.thirdparty;
|
||||
|
||||
import com.jsowell.common.annotation.Anonymous;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 地图相关接口
|
||||
*/
|
||||
@Anonymous
|
||||
@RestController
|
||||
@RequestMapping("/map")
|
||||
public class MapController {
|
||||
|
||||
// 根据经纬度查询地址信息
|
||||
|
||||
|
||||
}
|
||||
@@ -44,7 +44,7 @@ public class ZheJiangController extends ThirdPartyBaseController {
|
||||
logger.info("{}-请求令牌, params:{}, result:{}", platformName, JSON.toJSONString(dto), JSON.toJSONString(map));
|
||||
return CommonResult.success(0, "请求令牌成功!", map.get("Data"), map.get("Sig"));
|
||||
} catch (Exception e) {
|
||||
logger.error("{}-获取token接口, 异常, params:{}", platformName, JSON.toJSONString(dto));
|
||||
logger.error("{}-获取token接口, 异常, params:{}", platformName, JSON.toJSONString(dto), e);
|
||||
return CommonResult.failed("获取token发生异常");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user