View Code? Open in Web Editor
NEW
从零开始搭建开发平台
License: Apache License 2.0
Java 31.94%
FreeMarker 8.03%
Dockerfile 0.04%
CSS 0.14%
JavaScript 19.38%
HTML 0.06%
Vue 26.02%
TypeScript 7.82%
SCSS 6.58%
gsein-platform's Introduction
- 👋 Hi, I’m @lhing17
- 👀 I’m interested in Warcraft III map making and clojure.
- 🌱 I’m currently learning clojure language and reading SICP.
- 💞️ I’m looking to collaborate on Warcraft III map making.
- 📫 How to reach me
![lhing17's Top Langs](https://camo.githubusercontent.com/294241afe680b941112f9a1dd220222dd209e900f0f2c94421dc7dd330b0b43f/68747470733a2f2f6769746875622d726561646d652d73746174732e76657263656c2e6170702f6170692f746f702d6c616e67732f3f757365726e616d653d6c68696e673137266c61796f75743d636f6d70616374)
gsein-platform's People
Contributors
Watchers
gsein-platform's Issues
在 CodeGenerator 的 generateClass 方法中添加如下代码,能完被生成类的包结构的自动创建,而不是手动创建:
private void generateClass(String path, String templateName, String className, Map<String, Object> params) {
// 目录不存在的时候创建目录
File file = Path.of(path).toFile();
if(!file.exists())
file.mkdirs();
//....
在 cn.gsein.platform.system.advice.SystemLoggingAspect
中如下注释错误:
/**
* 后置通知:记录日志,日志内容为方法名称、方法的参数和返回值
*/
@AfterReturning(pointcut = "@annotation(systemLogging)", returning = "result")
public void afterReturning(JoinPoint joinPoint, SystemLogging systemLogging, Object result) {
// 获取到logger
Logger logger = LoggerFactory.getLogger(joinPoint.getTarget().getClass());
// 获取到方法名
String methodName = joinPoint.getSignature().getName();
// ....
@AfterReturning
为返回通知,@After
为后置通知。
希望大佬能够让后台数据库支持oracle或者内置h2数据库方便部署
在类上加入@EnableWebSecurity可以消除红线
如下所示
@configuration
@EnableWebSecurity
public class SecurityConfig