zhengqingya / code-generator Goto Github PK
View Code? Open in Web Editor NEW止步传统CRUD,进阶代码优化:一套基于Spring Boot+Vue+Shiro前后端分离的代码生成器
Home Page: http://www.zhengqingya.com
止步传统CRUD,进阶代码优化:一套基于Spring Boot+Vue+Shiro前后端分离的代码生成器
Home Page: http://www.zhengqingya.com
package.ModuleName
package ${package.QueryPara};
${formQueryPara}
这些都没有
config文件夹 index.js里面 把useEslint 改成 true了
但是项目还是用不了
其他项目都可以用的
Hey there!
I belong to an open source security research community, and a member (@ready-research) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a SECURITY.md
file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)
折腾半天,唉
node version v10.15.0
npm version 6.4.1
执行命令 npm install
npm ERR! code 128
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE clone --depth=1 -q -b fix/hr_is_inline git://github.com/sohee-lee7/Squire.git C:\Users\michael\AppData\Roaming\npm-cache_cacache\tmp\git-clone-6ff41769 --config core.longpaths=true
npm ERR! warning: templates not found C:\Users\michael\AppData\Local\Temp\pacote-git-template-tmp\git-clone-09697ea5
npm ERR! fatal: read error: Invalid argument
npm ERR!
admin和test的账号登录都没成功,能提供下新密码吗
2021-01-06 16:06:47.573 DEBUG 3836 --- [nio-9100-exec-4] c.z.m.common.generator.MyGenerator : ==========================文件生成完成!!!==========================
2021-01-06 16:06:58.094 DEBUG 3836 --- [nio-9100-exec-4] c.qcloud.cos.http.DefaultCosHttpClient : Received error response: com.qcloud.cos.exception.CosServiceException: The appid is unavailable for legal reasons. (Status Code: 451; Error Code: UnavailableForLegalReasons; Request ID: NWZmNTZmYTNfMjNiMjU4NjRfYjBkNl80OGVkMTQx); Trace ID: OGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc0OWRkZjk0ZDM1NmI1M2E2MTRlY2MzZDhmNmI5MWI1OTQyYWVlY2QwZTk2MDVmZDQ3MmI2Y2I4ZmI5ZmM4ODFjMWFkYWRmMmVkZTJkYzA0OGMyZTAyNzllOWYxMThlNDc=
2021-01-06 16:06:58.099 ERROR 3836 --- [nio-9100-exec-4] c.z.m.c.e.MyGlobalExceptionHandler : 系统异常:
com.qcloud.cos.exception.CosServiceException: The appid is unavailable for legal reasons. (Status Code: 451; Error Code: UnavailableForLegalReasons; Request ID: NWZmNTZmYTNfMjNiMjU4NjRfYjBkNl80OGVkMTQx); Trace ID: OGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc0OWRkZjk0ZDM1NmI1M2E2MTRlY2MzZDhmNmI5MWI1OTQyYWVlY2QwZTk2MDVmZDQ3MmI2Y2I4ZmI5ZmM4ODFjMWFkYWRmMmVkZTJkYzA0OGMyZTAyNzllOWYxMThlNDc=
at com.qcloud.cos.http.DefaultCosHttpClient.handlerErrorMessage(DefaultCosHttpClient.java:295)
at com.qcloud.cos.http.DefaultCosHttpClient.exeute(DefaultCosHttpClient.java:387)
at com.qcloud.cos.COSClient.invoke(COSClient.java:487)
at com.qcloud.cos.COSClient.putObject(COSClient.java:803)
at com.zhengqing.modules.common.service.impl.CosFileServiceImpl.uploadFile(CosFileServiceImpl.java:46)
at com.zhengqing.modules.code.service.impl.ProjectServiceImpl.zipCode(ProjectServiceImpl.java:354)
at com.zhengqing.modules.code.service.impl.ProjectServiceImpl.generateCode(ProjectServiceImpl.java:183)
at com.zhengqing.modules.code.service.impl.ProjectServiceImpl$$FastClassBySpringCGLIB$$1.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at com.zhengqing.modules.code.service.impl.ProjectServiceImpl$$EnhancerBySpringCGLIB$$1.generateCode()
at com.zhengqing.modules.code.api.ProjectController.generate(ProjectController.java:142)
at com.zhengqing.modules.code.api.ProjectController$$FastClassBySpringCGLIB$$1.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:100)
at com.zhengqing.modules.common.interceptor.SystemLogAspect.doAround(SystemLogAspect.java:69)
at jdk.internal.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
++++++++++++++++++++++++++++++++++++++++++++++++++++
comments":"退回原因","nullable":true,"primaryKey":false,"autoIncrement":false}],"queryColumns":[],"packageConfig":{"parent":"com.zhengqing.modules","input":"input","service":"service","vue":"vue","service.impl":"service.impl","js":"js","mapper":"mapper","api":"api","mapper.xml":"mapper.xml","entity":"entity"}},"packageConfig":{"parent":"com.zhengqing.modules","input":"input","service":"service","vue":"vue","service.impl":"service.impl","js":"js","mapper":"mapper","api":"api","mapper.xml":"mapper.xml","entity":"entity"}}
2021-01-06 16:06:58.103 DEBUG 3836 --- [nio-9100-exec-4] c.z.m.common.filter.LogRequestFilter : ProjectController.generate返回的参数:{"message":"系统异常,操作失败","code":4000,"data":null}
在mac系统下启动抱错:
ClassNotFoundException: com.sun.jna.platform.mac.SystemB$Timeval
解决代码 在pom里去掉两个包 重新引入新版本
`
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi.version}</version>
<exclusions>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</exclusion>
<exclusion>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/net.java.dev.jna/jna -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.5.0</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.5.0</version>
</dependency>
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.