上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 36 下一页
摘要: 1、需要有一个公众号(我这里用的测试号),拿到AppID和AppSecret; 2、进入公众号开发者中心页配置授权回调域名。具体位置:接口权限-网页服务-网页账号-网页授权获取用户基本信息-修改 注意,这里仅需填写全域名(如www.qq.com、www.bai... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(345) 评论(0) 推荐(0)
摘要: String []z={"a","c","f","d"}; for(int i=0;i<z.length-1;i++){ for(int j=0;j<z.length-i-1;j++){ ... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(41) 评论(0) 推荐(0)
摘要: package lirixing.b;import java.io.BufferedInputStream;import java.io.FileInputStream;import java.io.IOException;public class Inp {... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(19) 评论(0) 推荐(0)
摘要: MongoDB插入 Insert Documents menu insert Behavior insert Methods 插入行为 * 如果集合不存在,插入操作将创建集合。 * 在集合中,具有唯一主键`_id`。如果... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(113) 评论(0) 推荐(0)
摘要: 一、数据更新 db.getCollection('表名').update({ "字段":{$in:["值"]} }, //更新条件 {$set:{ "字段":"值", "字段":"值" //需要更新的数据 }},true,true //这里用法请看示例1下方的... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(35) 评论(0) 推荐(0)
摘要: 这段时间大家都说mongodb很火,恩啦,本人也是怎么认为的,不过之前没有了解过mongodb的魅力,适当抽了一下时间和大家了解了解。 接下来,咱二话不说,直接上代码 咱先写pom.xml 4.0.0 com.springboot.mong... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(71) 评论(0) 推荐(0)
摘要: 1.pom.xml导入zxing依赖 com.google.zxing core 3.3.3 2.写工具类QRUtil package contorller;import com.google.zxing.common.BitMatrix;... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(134) 评论(0) 推荐(0)
摘要: 一、sql片段 组装sql我们不得不提到sql片段。就是我们可以把共有的一些sql语句抽离出来,组成sql片段。其他的statement就可以对其进行引用。 定义sql片段: and user.sex=#{userCustom.sex} ... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(33) 评论(0) 推荐(0)
摘要: ⦁ 全注解下的Spring IoC 在Spring Boot中,我们主要通过注解来装配Bean到Spring IoC容器中,为了贴近Spring Boot的需要,我们需要介绍一个基于注解的IoC容器,它就是AnnotationConfigApplicat... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(29) 评论(0) 推荐(0)
摘要: ⦁ Spring Boot ⦁ 什么是Spring Boot ⦁ Spring boot的优缺点 ⦁ Spring Boot 的依赖和自动配置 在上节已经介绍了如何搭建Spring Boot工程,下面讨论为什么在很少的... 阅读全文
posted @ 2022-08-11 18:50 码海兴辰 阅读(46) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 36 下一页