04 2019 档案

mysql用户创建授权
摘要:```mysql 创建用户: grant select,update,insert,delete,create,drop,alter,index on *.* to 'jyx_mysql'@'%' identified by '12study.mysql'; flush privileges; grant select,update,insert,delete,create,drop,alter... 阅读全文

posted @ 2019-04-29 18:07 朱春旺 阅读(102) 评论(0) 推荐(0)

解决consul覆盖注册
摘要:默认注册consul的服务id为服务名 端口号,相同的服务名和端口号注册会覆盖 解决方式: 1.自定义Consul注册Id 2. 放入容器 阅读全文

posted @ 2019-04-25 18:58 朱春旺 阅读(3628) 评论(0) 推荐(0)

Java jar包启动脚本
摘要:```shell #!/bin/bash APP_HOME=/wdcloud/app/rps/rps-module-admin APP_JAR=rps-module-admin-*.jar APP_PIDS=$(ps ax | grep java | grep $APP_HOME | grep -v grep | awk '{print $1}') function start(){ if [... 阅读全文

posted @ 2019-04-22 17:39 朱春旺 阅读(616) 评论(0) 推荐(0)

使用jquery模拟请求,测试项目是否存在跨域限制
摘要:1.Get 请求 2.Post 请求 阅读全文

posted @ 2019-04-22 15:22 朱春旺 阅读(295) 评论(0) 推荐(0)

springboot 2.1.4 源码默认logback-spring.xml
摘要:logback spring.xml 是由几个文件组成的,整个的一个xml为 阅读全文

posted @ 2019-04-11 10:53 朱春旺 阅读(1050) 评论(0) 推荐(0)

IDEA 代码风格设置
摘要:1.类注释 File Settings Editor File and Code Templates Includes FileHeader 2.缩进 采用4个空格缩进,或者设置tab键为4个空格, 不能勾选Use tab character,参考下图 File Setting Editor Cod 阅读全文

posted @ 2019-04-09 15:59 朱春旺 阅读(3374) 评论(0) 推荐(2)