11 2022 档案

摘要:1.pom.xml <!-- redis--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 阅读全文
posted @ 2022-11-28 16:35 lwx_R 阅读(226) 评论(0) 推荐(0) 编辑
摘要:使用fastJson <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.28</version> </dependency> 1.get json数据 @Overrid 阅读全文
posted @ 2022-11-26 14:00 lwx_R 阅读(283) 评论(0) 推荐(0) 编辑
摘要:1.使用redis连接池 //连接池对象 JedisPool jedisPool = new JedisPool(new JedisPoolConfig(),"localhost"); //从连接池获取对象 Jedis jedis = jedisPool.getResource(); 使用Jedis 阅读全文
posted @ 2022-11-26 11:57 lwx_R 阅读(79) 评论(0) 推荐(0) 编辑
摘要:1.下载 jedis.jar 2. 五个数据类型String List Hash Set SortedSet 操作 public class RedisTest { public static void main(String[] args) throws InterruptedException 阅读全文
posted @ 2022-11-24 19:19 lwx_R 阅读(34) 评论(0) 推荐(0) 编辑
摘要:1.下载编译 https://github.com/mythz/redis-windows 需要下载后,自己编译生成exe文件 选择已经打包好的zip包使用 2.运行 2.1 运行服务器端 D:\Code\Redis>redis-server.exe 2.2 运行客户端 D:\Code\Redis> 阅读全文
posted @ 2022-11-24 19:11 lwx_R 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1.Some selectors are not allowed in component wxss, including tag name selectors 查看文档 要修改部分样式即可 阅读全文
posted @ 2022-11-22 12:38 lwx_R 阅读(264) 评论(0) 推荐(0) 编辑
摘要:1.获取插入主键 public int register(String username, String password, String email) throws Exception { Connection connection = DbUtil.getCon(); String sql="i 阅读全文
posted @ 2022-11-22 12:04 lwx_R 阅读(25) 评论(0) 推荐(0) 编辑
摘要:文档位置 API - 数据缓存 1.本地缓存 将数据存储在本地缓存中指定的 key 中。会覆盖掉原来该 key 对应的内容。 除非用户主动删除或因存储空间原因被系统清理,否则数据都一直可用。单个 key 允许存储的最大数据长度为 1MB,所有数据存储上限为 10MB。 key:string data 阅读全文
posted @ 2022-11-07 16:54 lwx_R 阅读(61) 评论(0) 推荐(0) 编辑
摘要:var list = { "province" : province, "city" : city, "county" : county } $.ajax({ url : "postOption", type : "post", contentType : "application/json", d 阅读全文
posted @ 2022-11-03 11:05 lwx_R 阅读(22) 评论(0) 推荐(0) 编辑
摘要:1.获得选中option的值/文本 var text = $("#select option:selected").text(); var value = $("#select option:selected").val(); 阅读全文
posted @ 2022-11-03 11:03 lwx_R 阅读(37) 评论(0) 推荐(0) 编辑
摘要:1.官网下载安装Nodejs 2.cmd测试 3.npm配置 3.1 NodeJs下建立"node_global"及"node_cache"两个文件夹 3.2 管理员方式运行cmd 输入 npm config set prefix "D:\nodejs\node_global" npm config 阅读全文
posted @ 2022-11-03 10:26 lwx_R 阅读(40) 评论(0) 推荐(0) 编辑
摘要:1.安装vant 1.1 打开项目路径,使用 cd ../ 确保路径是整个项目路径 1.2 输入 npm i @vant/weapp -S --production 1.3 工具->构建npm 2.使用 2.1 在app.json中 "usingComponents": { "van-overlay 阅读全文
posted @ 2022-11-02 21:04 lwx_R 阅读(591) 评论(0) 推荐(0) 编辑
摘要:1.pom.xml <!-- lombok--> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.20</version> <scope>provided< 阅读全文
posted @ 2022-11-01 12:21 lwx_R 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1.pom.xml <!-- mybatisPlus--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>2.3</version> < 阅读全文
posted @ 2022-11-01 12:16 lwx_R 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示