对接浙江平台

This commit is contained in:
Guoqs
2024-08-12 15:32:47 +08:00
parent 3efd1c3289
commit c2353375a5
3 changed files with 24 additions and 6 deletions

View 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 {
// 根据经纬度查询地址信息
}

View File

@@ -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发生异常");
}
}