摘要: 说明 以POST方式提交表单 案例 方法选择POST 再 body 处选择form-data 多个表单内容,可以选择文本,也可以选择文件。 都是以 Key-Value 的方式上传,然后再服务器端接收。 // micronaut 2.x @Post(value = "/test4", consumes 阅读全文
posted @ 2020-10-29 15:33 duchaoqun 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: 说明 日历信息,获取日期相关内容 案例 Calendar calendar = Calendar.getInstance() String year = calendar.get(Calendar.YEAR) // 当前年份 String month = calendar.get(Calendar. 阅读全文
posted @ 2020-10-29 09:51 duchaoqun 阅读(696) 评论(0) 推荐(0) 编辑