摘要:
第一步:定义顶级枚举接口 阅读全文
posted @ 2017-09-07 12:42
温酒斩华佗
阅读(665)
评论(0)
推荐(0)
摘要:
使用fastJSON ,在枚举中写toString 方法 如下@Overridepublic String toString() {return "{" + this.name() + ":" + description +'}';}description 就是你的中文描述然后配置fastjson针 阅读全文
posted @ 2017-09-07 11:11
温酒斩华佗
阅读(2438)
评论(0)
推荐(0)

浙公网安备 33010602011771号