chiruanping2992
码龄9年
关注
提问 私信
  • 博客:2,996
    2,996
    总访问量
  • 暂无
    原创
  • 771,561
    排名
  • 0
    粉丝
  • 0
    铁粉
  • 加入CSDN时间: 2016-03-20
博客简介:

chiruanping2992的博客

查看详细资料
  • 原力等级
    领奖
    当前等级
    0
    当前总分
    0
    当月
    0
个人成就
  • 获得0次点赞
  • 内容获得0次评论
  • 获得0次收藏
创作历程
  • 14篇
    2019年
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

180人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

JDBC连接数据库

需提前导入驱动包 package com.admin; import java.sql.*; public class Main { public static void main(String[] args) throws SQLException { ...
转载
发布博客 2019.05.28 ·
93 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

使用同步锁来实现线程安全---生产者与消费者

当仓库满了时才允许消费者消费,当仓库为空时,才允许生产者生产 生产者类 package com.goodwe.entity; import java.util.Queue; /** * @Author : Wang Huyun * @Creation time :...
转载
发布博客 2019.05.21 ·
160 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

统计txt文件中每个字符出现的次数,并根据次数从高到低排序

使用HashMap来存放信息 /* * @Description //main函数 * @Param * @return **/ import java.io.*; import java.util.*; public class HelloServer...
转载
发布博客 2019.05.20 ·
1144 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

文件操作

1.读取txt文件内容 // 从txt文件中读取字符 File txtxfile = new File("C:\\Users\\Administrator\\Desktop\\test.txt"); FileInputStream fr = new FileInputStream(txt...
转载
发布博客 2019.05.20 ·
108 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot使用Layer上传图片

1.html <button style="margin-top: 20px;margin-left: 20px" type="button" class="layui-btn" id="upload"> <i class="layui-icon">&...
转载
发布博客 2019.04.26 ·
172 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

kafka的基本点

kafka节点之间如何复制备份的? Log的分区被分布到集群中的多个服务器上。每个服务器处理它分到的分区。 根据配置每个分区还可以复制到其它服务器作为备份容错。 每个分区有一个leader,零或多个follower。Leader处理此分区的所有的读写请求,而follower被...
转载
发布博客 2019.04.24 ·
96 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Springboot中使用阿里云短信验证码服务

1.引入阿里云的包 <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> &l...
转载
发布博客 2019.04.24 ·
412 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot中使用kafka

kafka配置文件 package com.goodwe.kafka.configuration; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.common.seri...
转载
发布博客 2019.04.23 ·
115 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Springboot常使用配置属性

#端口号 server.port=8080 #分页行数 pager.size=10 #log logging.config=classpath:logback.xml #thymelea spring.thymeleaf.prefix=classpath:/templ...
转载
发布博客 2019.04.23 ·
97 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

springboot中使用Mybatis_plus

代码生成器 package com.goodwe.daomain; import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException; import com.baomidou.mybatisplus.core.t...
转载
发布博客 2019.04.23 ·
105 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Springboot中自定义文件映射

//配置 package com.goodwe.admin.configure; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.c...
转载
发布博客 2019.04.23 ·
127 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Springboot中使用Shiro的配置与realm的构建

//shiro配置 package com.goodwe.admin.configure; import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.spring.security.intercept...
转载
发布博客 2019.04.23 ·
161 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Springboot中使用Redis的配置

package com.goodwe.admin.configure; import com.alibaba.fastjson.support.spring.FastJsonRedisSerializer; import org.springframework.context.an...
转载
发布博客 2019.04.23 ·
87 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

记录Springboot+Mybatis_Plus进行CRUD与分页的注意点

对于mybatis_plus来说,进行CRUD非常的方便,但是最近遇使用其分页插件时遇到了一个问题,记录一下. 当进行Mybatis_plus的版本升级时,需要查看升级文档. 比如当版本从3.0.6升级到3.1.0时,文档中说明移除对mybatis-plus-generator包的依赖,自己...
转载
发布博客 2019.04.04 ·
119 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏