会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鸭猪是的念来过倒
就算是垃圾,也会有发光发亮的一天
博客园
首页
新随笔
联系
订阅
管理
2024年1月24日
Layui点击行事件和点击复制单个数据示例
摘要: 1:点击行事件 table.on('row('+表格容器id+')',function (d){ //d是数据 }) 2:点击某个字段数据处理 Column加一个事件的参数 {title: '用户名', field: 'username', templet: function (d) { retur
阅读全文
posted @ 2024-01-24 10:34 鸭猪是的念来过倒
阅读(624)
评论(0)
推荐(0)
2023年12月28日
spring源码gradle编译
摘要: 1:源码地址下载 spring home:https://spring.io/ 点github 2:gradle下载 https://gradle.org/releases/ 如果下载比较慢,就使用国内的地址: https://mirrors.cloud.tencent.com/ 》下载后解压压缩包
阅读全文
posted @ 2023-12-28 13:35 鸭猪是的念来过倒
阅读(26)
评论(0)
推荐(0)
2023年12月23日
rocketmq4.9.0集群搭建
摘要: 1:下载 https://rocketmq.apache.org/download 2:安装前置工作 1:准备三台服务器 2:jdk1.8的安装 3:上传文件到指定目录 解压是unzip,但是这个主机上没有这个命令,先yum安装一下 yum install -y unzip zip 然后解压到指定目
阅读全文
posted @ 2023-12-23 21:14 鸭猪是的念来过倒
阅读(171)
评论(0)
推荐(0)
zookeeper集群的搭建
摘要: 1:包下载 地址:https://zookeeper.apache.org/ 2:服务器准备并做一些前置工作 1:安装jdk的运行环境 linux环境下安装jdk 2:分发服务器脚本 然后是集群环境下,多台服务器,有些操作是一样的,所以为了方便,先弄个同步的脚本 由于我创建的linux是个简洁版,目
阅读全文
posted @ 2023-12-23 16:21 鸭猪是的念来过倒
阅读(54)
评论(0)
推荐(0)
2023年12月4日
Layui文件上传及页面回显、数据库绑定
摘要: 1:文件上传分析 文件上传作为一个独立功能,不能和业务产生过于直接的关系,得单独设计表和代码 2:数据表分析 首先需要一个表保存文件的基本信息,如:源文件名,服务器文件路径,文件类型等。 还需要一个表用来关联业务数据,但是不同业务的id也许有重复的,所以不能用业务id关联,得单独定义一个字段 以下实
阅读全文
posted @ 2023-12-04 16:50 鸭猪是的念来过倒
阅读(2170)
评论(0)
推荐(0)
2023年12月1日
snakeyaml处理多文件配置
摘要: 1:需要在源文件中node.nb下添加指定的yml数据 源文件 node: env: n1 n1: node 1 n2: node 2 node: env: n2 na: node na nb: nb1: node nb1 需要插入的模板文件 insert1: - image: http:12323
阅读全文
posted @ 2023-12-01 11:27 鸭猪是的念来过倒
阅读(426)
评论(0)
推荐(0)
2023年9月28日
枚举类的多个属性在入参的时候根据其中指定的属性进行格式化
摘要: 1:需求描述 一个枚举类有code和desc两个属性,页面只需要传递code数字,内部直接转换成对应的枚举 2:实现 通过@JsonCreator来序列化入参,就是把前端传过来的code转换成枚举 通过@JsonValue该字段,返回数据时则把枚举转换成code 2.1:创建枚举 package c
阅读全文
posted @ 2023-09-28 10:51 鸭猪是的念来过倒
阅读(136)
评论(0)
推荐(0)
2023年9月19日
Failed to determine a suitable driver class(maven不编译配置文件)
摘要: 现象:启动报错 问题排查与处理: 1:根据错误翻译,是datasource没有一些配置属性。不过检查下来写法没有啥问题 2:注意启动端口是不是生效了。发现是配置文件没起作用 3:maven添加resources <resources> <resource> <directory>src/main/j
阅读全文
posted @ 2023-09-19 13:27 鸭猪是的念来过倒
阅读(2733)
评论(0)
推荐(0)
2023年8月30日
@profiles.active@多环境配置以及遇到Do not use @ for indentation
摘要: 1:配置环境 maven pom.xml增加 <!--环境--> <profiles> <profile> <id>dev</id> <properties> <profiles.active>dev</profiles.active> </properties> </profile> <profi
阅读全文
posted @ 2023-08-30 11:10 鸭猪是的念来过倒
阅读(449)
评论(0)
推荐(0)
2023年8月29日
Layui小图标页面解析失败 Failed to convert WOFF 2.0 font to SFN
摘要: 在maven的<build>标签下,把它放开 <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>static/layui/f
阅读全文
posted @ 2023-08-29 17:56 鸭猪是的念来过倒
阅读(65)
评论(0)
推荐(0)
下一页
公告