This commit is contained in:
Redkale
2020-09-20 12:08:20 +08:00
parent 854aa0153f
commit 8bec9e88a7

View File

@@ -44,10 +44,10 @@ public class RetResult<T> implements Serializable {
@ConvertColumn(index = 2)
protected String retinfo;
@ConvertColumn(index = 3)
//success index = 3
@ConvertColumn(index = 4)
protected T result;
//success index = 4
@ConvertColumn(index = 5)
protected Map<String, String> attach;
@@ -321,7 +321,7 @@ public class RetResult<T> implements Serializable {
*
* @return 是否成功
*/
@ConvertColumn(index = 4)
@ConvertColumn(index = 3)
public boolean isSuccess() {
return retcode == 0;
}