摘要: 1. 定义不为空的列表时,如果使用append()会报警告 this list creation could be rewritten as a list literal 推荐定义时直接赋值 list1 = [1,2,3] # 这么用好 list1 = [1,2,3] # 这么用不好 list1.a 阅读全文
posted @ 2020-06-05 16:02 呆呆杏 阅读(1746) 评论(0) 推荐(0)
摘要: 最近在做requests请求时遇到如下报错: {"code":"500","message":"JSON parse error: Cannot construct instance of `com.bang.erpapplication.domain.User` (although at leas 阅读全文
posted @ 2020-06-03 23:11 呆呆杏 阅读(4230) 评论(0) 推荐(1)