Merge remote-tracking branch 'origin/master'

This commit is contained in:
wr
2023-11-03 16:51:05 +08:00
16 changed files with 175 additions and 11 deletions

View File

@@ -154,7 +154,7 @@ public class PubUtils {
MAPPER.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);
return MAPPER.writeValueAsString(object);
} catch (IOException e) {
throw new IllegalArgumentException("实体对象转为JSON时发生错误:" + object, e);
throw new IllegalArgumentException("将实体对象转为JSON时发生错误:" + object, e);
}
}

View File

@@ -75,7 +75,9 @@ public class Knife4jSwaggerConfig {
"com.njcn.stat.controller",
"com.njcn.rt.controller",
"com.njcn.zlevent.controller",
"com.njcn.cloud.controller"
"com.njcn.cloud.controller",
"com.njcn.zlevent.controller",
"com.njcn.prepare"
)
.collect(Collectors.toList());
List<GrantType> grantTypes = new ArrayList<>();