摘要:
git status 这里面的iml文件类似 eclipse .project文件 ,不能删除 。删除就不能识别项目了。 通过git .gitignore文件 过滤 git status gitignore 会提示修改过。我们要忽略这个文件 git update-index --assume-unc 阅读全文
摘要:
git status 这里面的iml文件类似 eclipse .project文件 ,不能删除 。删除就不能识别项目了。 通过git .gitignore文件 过滤 git status gitignore 会提示修改过。我们要忽略这个文件 git update-index --assume-unc 阅读全文
摘要:
启动类配置扫描 goods.mapper为当前项目mapper路径 ,common.mpper为其他jar包。 1. 2.mybatis.mapper-locations=classpath*:mapper/*.xml 注意:classpath后面有个星号(*) 成功获取到common.mapper 阅读全文
摘要:
枚举: //实现层调用 orderMapper.getOrder(OrderStatus.DISCOUNT); sql打印: 实际sql: select * from order where orderStatus = DISCOUNT 预期sql: select * from order wher 阅读全文
摘要:
一般的项目 如果没有做防刷 容易被人爆接口 或者就是说没有做token防刷过滤。 容易被人用正常的token刷接口。有些token非一次性。 用户登录之后生成token会有一个过期时间,但一般没有做频率检查,每访问一次,会延长这个token时间,刷新用户状态 另一种就是养号,拿着真实的token,哪 阅读全文
摘要:
数据表: 静态用 case when then mysql 只能,动态用存储 , SQL Server中行列转换用 Pivot UnPivot 结果: sql: 阅读全文
摘要:
controller 监听器,监听配置实时变化 src/main/resources >META-INF >app.properties apollo 界面 测试访问 : 实时变化 测试: 控制台打印: OK。 阅读全文
摘要:
import java.util.Stack; public class Solution { public static void main(String[] args) { Solution s = new Solution(); System.out.println(s.isValid("[]{")); ... 阅读全文
摘要:
一次 诡异的 idea Invalid bound statement (not found): 配置文件: mybatis.mapper-locations=classpath:mapper/*.xml 错 mybatis.mapperLocations=classpath:mapper/*.xm 阅读全文
摘要:
后台代码: git:https://gitee.com/xxoo0_297/js_rsa_java.git 阅读全文
|