会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ichigo2004
博客园
首页
新随笔
联系
订阅
管理
2021年9月18日
java int和char之间的相互转换
摘要: java int和char之间的相互转换 int 转 char int a = 12; char a_char = 12 + '0'; char 转 int char b_char = '8'; int b = b_char - '0'; 原因分析:char 类型保存的值就是该字符在ascii表中编
阅读全文
posted @ 2021-09-18 10:49 ichigo2004
阅读(345)
评论(0)
推荐(0)
2021年8月13日
Java随机生成6位字符串
摘要: Java随机生成6位字符串 import java.util.Random; /** * @author wangan */ public class SignUtil { private static final String BASIC = "123456789qwertyuiopasdfghj
阅读全文
posted @ 2021-08-13 16:13 ichigo2004
阅读(2940)
评论(0)
推荐(0)
2021年7月23日
Vue练习父子组件的调用
摘要: 定义一个子组件 <template> <h2>子组件</h2> </template> <script> export default { name: "son" } </script> <style scoped> </style> 定义一个父组件,并引入子组件 <template> <div>
阅读全文
posted @ 2021-07-23 22:28 ichigo2004
阅读(88)
评论(0)
推荐(0)
2021年7月21日
axios练习
摘要: axios 练习 import instance from './axios.js' const instance = axios.create({ baseURL: 'http://localhost:8003', timeout: 300000 }) instance.interceptors.
阅读全文
posted @ 2021-07-21 17:55 ichigo2004
阅读(65)
评论(0)
推荐(0)
2021年7月20日
如何将任意List<T>转化成指定List<T>树形结构
摘要: 如何将任意List转化成指定List树形结构 权限表PermissionDTO /** * <pre> * 权限表 返回数据模型 * </pre> * * @author xx * @date 2021-07-07 */ @Data @ApiModel(value = "PermissionDto"
阅读全文
posted @ 2021-07-20 19:58 ichigo2004
阅读(190)
评论(0)
推荐(0)
公告