Commit f3188fd4 authored by lcl's avatar lcl

u

parent 3abd1a3e
......@@ -154,7 +154,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
public void insertTenantConfig(SysConfig config) {
//重复验证
boolean exists = baseMapper.exists(Wrappers.<SysConfig>lambdaQuery().eq(SysConfig::getConfigKey, config.getConfigKey()));
if(exists){
if (exists) {
throw new BeanException("当前配置键已存在!");
}
......@@ -285,7 +285,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
dskAccessTokenDto.put("appKey", appkey);
dskAccessTokenDto.put("appSecret", appSecret);
String post = HttpUtil.post(domain + accessTokenAPI, JsonUtils.toJsonString(dskAccessTokenDto));
String post = HttpUtil.post("https://" + domain + accessTokenAPI, JsonUtils.toJsonString(dskAccessTokenDto));
Assert.notEmpty(post, "大司空数据accessTokenAPI响应异常");
log.info("大司空数据accessToken API响应:" + post);
Dict dict = JsonUtils.parseMap(post);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment