logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

cargo 操作超时,配置国内镜像源加速,实测有效

在.cargo下例如我的电脑C:\Users\ASUS\.cargo创建config文件config内容[source.crates-io]registry = "https://github.com/rust-lang/crates.io-index"replace-with = 'ustc'[source.ustc]registry = "git://mirrors.ustc.edu.cn/c

mybatis-plus根据id删除,批量删除,简单删除

// 根据id删除@Testpublic void testDeletedId() {int rows = userMapper.deleteById(1L);System.out.println(rows);}// 批量删除@Testpublic void testDeletedBatchIds() {int result = userMapper.deleteBatchIds(Arrays.a

#java#蓝桥杯#spring
mybatis-plus多个id批量查询

// 多个id批量查询@Testpublic void testSelect1() {List<User> users = userMapper.selectBatchIds(Arrays.asList(1,2,3));System.out.println(users);}

#mybatis
jquery控制select2 插件的显示与隐藏

$("#sb_brand").next().css("display", "none");$("#sb_brand").next().css("display", "inline-block");

Layer弹窗和 jquery select2 兼容问题

layer弹窗中select2不显示问题,原因是:layer的z-index影响的解决办法:将select2的z-index调高于layer的z-index.select2-container--open .select2-dropdown{left:0;z-index:999999999;}...

phpmailer SMTP ERROR: Password command failed: 526 Authentication failure[0] 阿里云企业邮箱

解决办法:开启企业邮箱SMTP发信功能使用管理员用户登录域管理控制台,依次选择组织与用户>员工帐号管理,单击对应的账号名,勾选开启POP3/SMTP服务和开启IMAP/SMTP服务,然后单击保存即可。...

文章图片
Cannot find template location: classpath:/templates/

在配置文件中application.properties添加spring.thymeleaf.check-template-location=false

#spring#java#spring boot
cannot find method ‘value‘

原因:@Qualifier 注解引入包错误错误包:import org.mapstruct.Qualifier;改成正确包:import org.springframework.beans.factory.annotation.Qualifier;其它注解这种错误可能也是包引入操作

#java#spring#spring boot
区块链的去中心化策略

私有链:单一的信任中心完成共识,可以通过分布式方式保证可靠联盟链:一个组织内的节点构造去中心化的系统,组织通过投票的方式去中心化,相互牵制公开链:完全的去中心化策略,任意节点,任意时间都可以加入和退出...

    共 46 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 请选择