- 博客(5)
- 收藏
- 关注
原创 angularjs保留几位小数(四舍五入)
//浮点数值 保留几位小数 decimal-保留小数位数app.filter('numParsh', function () { return function (num,decimal) { decimal = decimal+1; var numStr = num.toString(); if (num != undefined &a...
2018-12-19 16:33:10
3348
原创 docker创建redis镜像,有关连接问题
启动方式命令: docker run -p 6379:6379 --name redis -v /root/redis/redis.conf:/etc/redis/redis.conf -v /root/redis/data:/data -d redis redis-server /etc/redis/redis.conf -appendonly yesredis.conf的中几个需要修...
2018-11-22 17:54:34
408
原创 springboot集成redis,使用@Cacheable注解
springboot 2.0 集成redis 使用@Cacheable 注解所需要的配置,注意:在使用中所有的序列化机制保持一致package com.best.config;import com.fasterxml.jackson.annotation.JsonAutoDetect;import com.fasterxml.jackson.annotation.PropertyAcce...
2018-11-21 16:54:55
1063
原创 使用druid服务启动不了,添加log4j的maven依赖
APPLICATION FAILED TO STARTDescription:Failed to bind properties under ‘spring.datasource’ to javax.sql.DataSource:Property: spring.datasource.filtersValue: stat,wall,log4jOrigin: class path re...
2018-11-21 15:34:34
898
2
原创 angualrjs的下拉框同步问题,不需要请选择
angualrjs的下拉框同步问题使用ng-options: <tr ng-repeat="item in list"> <td id="settlementType{{item.channelId}}"> <span>{{item.settlementType == 2 ? '三元运算':(item.settlementType ==...
2018-10-22 17:31:43
184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人