This commit is contained in:
@@ -44,10 +44,10 @@ public class RetResult<T> implements Serializable {
|
|||||||
@ConvertColumn(index = 2)
|
@ConvertColumn(index = 2)
|
||||||
protected String retinfo;
|
protected String retinfo;
|
||||||
|
|
||||||
@ConvertColumn(index = 3)
|
//success index = 3
|
||||||
|
@ConvertColumn(index = 4)
|
||||||
protected T result;
|
protected T result;
|
||||||
|
|
||||||
//success index = 4
|
|
||||||
@ConvertColumn(index = 5)
|
@ConvertColumn(index = 5)
|
||||||
protected Map<String, String> attach;
|
protected Map<String, String> attach;
|
||||||
|
|
||||||
@@ -321,7 +321,7 @@ public class RetResult<T> implements Serializable {
|
|||||||
*
|
*
|
||||||
* @return 是否成功
|
* @return 是否成功
|
||||||
*/
|
*/
|
||||||
@ConvertColumn(index = 4)
|
@ConvertColumn(index = 3)
|
||||||
public boolean isSuccess() {
|
public boolean isSuccess() {
|
||||||
return retcode == 0;
|
return retcode == 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user