摘要:
AjaxResult result = userAuthService.pcRegister(sysUser);Integer code = (Integer) result.get("code");//package com.fasterxml.jackson.databind.ObjectMap 阅读全文
摘要:
https://github.com/Blankwhiter/dynamic-schedule 后端 https://github.com/Blankwhiter/vue-admin-template 前端 阅读全文
摘要:
工具类 package com.education.utils;import java.io.Serializable;import java.util.List;import java.util.stream.Collectors;/** * <b> 分页通用类 </b> * * @param < 阅读全文
摘要:
配置属性 //设置好账号的ACCESS_KEY和SECRET_KEYstatic final String ACCESS_KEY = "";static final String SECRET_KEY = "";//要上传的空间static final String BUCKET_NAME = "" 阅读全文
摘要:
解决什么问题?1 、数据库获取时间传到前端进行展示的时候,在数据库中显示的是正确的时间格式,获取出来成了的时间戳,@JsonFormat注解很好的解决了这个问题 2、 另一个问题是,我们在使用WEB服务的时,可能会需要用到,传入时间给后台,比如注册新用户需要填入出生日期等,这个时候前台传递给后台的时 阅读全文
摘要:
Java命名规范 建议遵守(不遵守也可通过编译) 1.包名:多单词组成时所有字每都小写:xxxyyyzzz2.类名、接口名:多单词组成时,所有单词的首字母大写:XxxYyyZzz(大驼峰命名法)3.变量名、方法名:多单词组成时,第一个字母的首字母小写,第二个字母开始每个字母首字母大写:xxxYyyZ 阅读全文
摘要:
1、AuthorityInterceptor.java @Componentpublic class AuthorityInterceptor implements HandlerInterceptor { @Resource DataDouyinMapper dataDouyinMapper; / 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
1.redis配置文件 spring: redis: database: 0 host: 127.0.0.1 port: 6379 password: test jedis: pool: min-idle: 0 max-active: 8 max-idle: 8 max-wait: -1ms con 阅读全文