摘要: idea创建类时添加类注释(细节) File -> Settings -> Editor -> File and Code Templates 创建一个模板 Includes页签,新建一个java_header模板(后面有一些可用的模板内容) 模板内容(后面有一些可用的模板内容) /** * @PA 阅读全文
posted @ 2020-09-18 08:57 JAVA小白逛园子 阅读(1718) 评论(0) 推荐(0)
摘要: 1、添加swagger配置 import lombok.extern.slf4j.Slf4j; import org.springframework.boot.web.context.WebServerInitializedEvent; import org.springframework.cont 阅读全文
posted @ 2021-07-02 14:27 JAVA小白逛园子 阅读(1999) 评论(0) 推荐(0)
摘要: cd 到 nginx的sbin目录下 我的路径为 : cd /usr/local/nginx/nginx-1.10.0/sbin 执行 ./nginx -c /配置文件目录/nginx.conf 我的配置文件路径: ./nginx -c /usr/local/nginx/nginx-1.10.0/c 阅读全文
posted @ 2021-06-16 18:18 JAVA小白逛园子 阅读(116) 评论(0) 推荐(0)
摘要: 简单操作: 搜索标签: <component name="RunDashboard"> 需要插入的代码: <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" / 阅读全文
posted @ 2021-06-03 17:34 JAVA小白逛园子 阅读(1070) 评论(0) 推荐(0)