12 2020 档案
摘要:1) 创建忽略规则文件(git.ignore) 这个文件的存放位置原则上在哪里都可以,为了便于让~/.gitconfig文件引用,建议也放在用户家目录下 # Compiled class file *.class # Log file *.log # BlueJ files *.ctxt # Mob
阅读全文
摘要:一、所谓排序,就是使一串记录,按照其中的某个或某些关键字的大小,递增或递减的排列起来的操作。排序算法,就是如何使得记录按照要求排列的方法。排序算法在很多领域得到相当地重视,尤其是在大量数据的处理方面。一个优秀的算法可以节省大量的资源。在各个领域中考虑到数据的各种限制和规范,要得到一个符合实际的优秀算
阅读全文
摘要:pom文件: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.13</version> </dependency> <dependen
阅读全文
摘要:idea 启动springboot项目时报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class pat
阅读全文
摘要:第一种方法,以发送短信功能为例: 1.application.properties文件: sms.host=http://dingxin.market.alicloudapi.com sms.path=/dx/sendSms sms.method=POST sms.appcode=xxxxxxx 2
阅读全文
摘要:// 主键回填 需要在mapper.xml中的insertSelective语句中添加, useGeneratedKeys="true"(插入一条记录后,需要返回该条记录的自增主键值) // keyProperty="id",(我们在insert中指定了keyProperty="id",其中id代表
阅读全文

浙公网安备 33010602011771号