This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user