会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菁华浮梦--
博客园
首页
新随笔
联系
订阅
管理
2021年2月24日
springboot中多端口启动(这里也适用于https既443端口)
摘要: application.properties中添加设置以下设置#https证书#修改默认端口号# https 加密端口号 443server.port=${appPort:443}#server.port=${appPort:8008}server.additionalPorts=8008,8001
阅读全文
posted @ 2021-02-24 17:08 菁华浮梦--
阅读(1208)
评论(0)
推荐(0)
2020年9月19日
Gson的fromJson()方法(从Json相关对象到Java实体或转换成List集合)
摘要: 第一种: 比如json字符串为:[{“name”:”name0”,”age”:0}] Person person = gson.fromJson(str, Person.class);//直接转换 第二种,转换成List集合:Person为实体类 List<Person> ps = gson.fro
阅读全文
posted @ 2020-09-19 09:09 菁华浮梦--
阅读(2113)
评论(0)
推荐(0)
2020年7月2日
普通doalog内容区域外去除遮罩层,恢复点击事件
摘要: AlertDialog alertDialog = new AlertDialog .Builder(this) .setTitle("请点击播放的舞美效果") //列表选择 .setItems(danceName, new DialogInterface.OnClickListener() { @
阅读全文
posted @ 2020-07-02 14:16 菁华浮梦--
阅读(277)
评论(2)
推荐(0)
公告