实体的字段以is开头时,比如isTop, isComment等等,在取数据时,会自动将字段的is 去掉,即取到的字段为top等等,应该是以is开头本就不符合取名规范吧。
{"message":"","rows":[{"audit":1,"author":"admin","click":1,"comment":1,"datetime":"","editor":"1","homePic":"","id":1,"keyWords":"qq","mainPic":"","navContent":"","recommend":0,"remark":"","sTitle":"stitle","source":"999","status":0,"title":"qq","top":0,"type":""}],"success":false,"total":1}
引以为戒。