RetResult增加clearAttach方法

This commit is contained in:
Redkale
2018-01-06 14:04:33 +08:00
parent d14a939acb
commit d29dc320c3

View File

@@ -129,6 +129,17 @@ public class RetResult<T> {
return this;
}
/**
* 清空attach
*
*
* @return RetResult
*/
public RetResult<T> clearAttach() {
this.attach = null;
return this;
}
/**
* 结果码 0表示成功、 非0表示错误
*