init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.ruoyi.yunxin.resp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class YxDataR<T> implements Serializable {
|
||||
private Integer code;
|
||||
private T data;
|
||||
|
||||
public boolean isSuccess(){
|
||||
return code != null && code == 200;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user