自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 问答 (4)
  • 收藏
  • 关注

原创 rabbitmq做成依赖项目模块

2.下载rabbitmq https://www.rabbitmq.com/docs/download 可通过https://www.rabbitmq.com/docs/which-erlang查询erlang与mq版本是否匹配。3.本地安装启动,具体教程 https://blog.youkuaiyun.com/qq_41929714/article/details/146152629。其他同system配置即可。

2025-07-21 14:21:18 217

原创 火山引擎接入AI

briefPage=0&briefType=introduce&projectName=undefined&type=new 进入管理页。在系统管理中选择需要开通的AI模型以及添加API KEY。https://www.volcengine.com/注册用户。

2025-07-21 11:11:39 1080

原创 格式化日期常用方法

import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.text.ParseException; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; imp

2020-08-31 09:05:48 2510

原创 对象取各种类型值方法

package com.mx.util; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.FileOutputStream; import java.math.BigDecimal

2020-08-30 15:58:37 328 1

原创 webservice基本用法

pom文件依赖 <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>3.1.6</version> </dependency> <dependen

2020-08-30 15:55:24 396

原创 接口根据参数传输文件

文件位置问题:可以从项目整体往下写,或者直接copy目录,删除前面多余部分 public String getMap(String inputStr, HttpServletRequest request, HttpServletResponse response){ JSONObject jsonObject = JSON.parseObject(inputStr); String mapCode = jsonObject.getString("mapCode");

2020-07-28 09:17:22 579

原创 JAVA加密解密各类型工具类

package com.dxgw.util; import java.util.Arrays; public class SMS4 { public static final int ENCRYPT = 1; public static final int DECRYPT = 0; public static final int ROUND = 32; private static final int BLOCK = 16; public static byte

2020-06-24 08:51:57 437

原创 JSON转换其他类型工具类

package com.dxgw.util; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import net.sf.json.xml.XMLSerializer; import org.springframework.stereotype.Repository; import java.lang.reflect.Field

2020-06-18 16:11:40 213

原创 byte数组转换工具类

package com.dxgw.util; import org.apache.commons.lang.StringUtils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Blob; import java.sql.Clob; import java.sql.SQLException; public class ByteU

2020-06-18 16:08:10 2696

原创 java中redis结合elasticsearch基本使用

package com.example.elasticsearch.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.support.spring.GenericFastJsonRedisSerializer; import com.example.el

2020-05-28 17:06:18 1031

原创 PostMessage子传父的简单使用

主页面 window.addEventListener('message', function(ev){ if(ev.origin === 来源地址){ //进行操作 } }); iframe子页面 parent.postMessage(要传输的数据,"*"//*是所有url通用) 使用window不能正确读取到数据,使用parent后可以。这个留到以后研究 ...

2020-05-27 10:46:20 1485

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除