logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

springboot生成token,并拦截token(注册时不拦截)

1.生成token用户注册时://把用户信息插入到表中,返回用户信息,有用户的id,根据id,采用addLoginTicket方法生成token String ticket = addLoginTicket(39);//ticket=e75932bb92904defa98e13a8aad860b2public String addLoginTicket(int userId){...

如何将InputStream转化为base64

public class FileToBase64 {public static String getBase64FromInputStream(InputStream in) {// 将图片文件转化为字节数组字符串,并对其进行Base64编码处理byte[] data = null;// 读取图片字节数组try ...

InputStream流的二次读取

//获取客户端InputStream对象InputStream input= requset.getInputStream();//将InputStream对象转换成ByteArrayOutputStreamByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();byte[] buffer = ...

Ckeditor配置上传音频视频

https://blog.csdn.net/xzz1173724284/article/details/80906916

htppClient调用webservice,并解析返回的xml字符串

参考:https://blog.csdn.net/yapengliu/article/details/86596096?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.no

mybatis plus 使用insert 没有返回主键的处理

实体类中id/*** 指定自增策略*/@TableId(value = "id",type = IdType.AUTO)private int id;service层中@Servicepublic class InformationService extends ServiceImpl<InformationMapper,Information> {@Autowiredprivate

MyBatis 传入List集合查询数据

List<Test> selectById(List<Integer> id);<select id="selectById" parameterType="java.util.List"resultMap="BaseResultMap">select * from testwhere status = 'A'a...

mui消息框alert,confirm,prompt,toast

https://blog.csdn.net/tengliu6/article/details/52205362

springboot之核心依赖spring-boot-starter,spring-boot-starter-parent,spring-boot-starter-web依赖解析

参考:https://blog.csdn.net/zhou920786312/article/details/84324915https://blog.csdn.net/tr1912/article/details/79217132spring-boot-starter:spring-boot场景启动器,后面跟的单词就是场景,比如说后面跟web,就是导入web场景的所有依赖。1.sp...

ul中清除所有的li标签

1.首先引入jquery.js.$("#banqis").find("li").remove();  var banqifragment = document.getElementById("banqis");//定位到容器ul标签  alert("=清空版期图片数据="); alert("清空后==&quo

    共 33 条
  • 1
  • 2
  • 3
  • 4
  • 请选择