摘要: 我写了这么个代码, 用来测试使用 spring 提供 Json 数据 Controller Kotlin 处理逻辑 请求结果 很明显, 这句代码是没有起到作用的, 在 Github 上我终于找到了问题的原因: 我想知道为什么这会有用?我认为客户有责任发送他们可以接受的contentType。然后消息 阅读全文
posted @ 2019-09-05 15:51 develon 阅读(1055) 评论(0) 推荐(0) 编辑
摘要: import java.io.File fun main() { val c = File("""C:\""") for (i in (c.listFiles()?:return)) { println(""" |${ i.getAbsolutePath() }, |${ when{i.isFile 阅读全文
posted @ 2019-09-05 13:19 develon 阅读(468) 评论(0) 推荐(0) 编辑