自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 JSON.toJSONString打印日志-日期时间戳格式化

当我们用JSON.toJSONString()来打印日志的时候发现打印出来的日期是时间戳,不够明晰,用以下方法可以将时间戳转为指定格式输出,更加易读1.public static void main(String[] args) { InventoryEventAddReqVo inventoryEventAddReqVo = new InventoryEventAddReqVo(); inventoryEventAddReqVo.setEventDate(new Date());

2022-01-14 16:41:05 3014

原创 mac idea 异常关闭端口被占用

1.sudo lsof -i tcp:port (port-项目端口号/被占用端口号)2.kill PID或者sudo kill -9PID

2022-01-11 09:23:57 766

原创 c#中的不同文件中类的调用

举例讲解在C#中,不同cs文件中类建如何调用1.首先在一个cs文件中创建一个Person类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplicati

2016-10-30 15:16:44 13097

空空如也

空空如也

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

TA关注的人

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