上传代码

This commit is contained in:
zhangdongxu
2017-12-19 14:55:52 +08:00
commit 13acafd43d
4777 changed files with 898870 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.nis.restful;
public interface RestConverter<T> {
/**
* 将错误对象转化成map用于页面的输出
* @return
*/
T convert(RestResult re);
/**
* 转化为json字串
* @param re
* @return
*/
String convertToJson(RestResult re);
}