@@ -27,6 +27,9 @@ public class R {
}
public static BaseResult succ(@NonNull Object data) {
+ if(data == null){
+ return succ();
+ }
return BaseResult.builder().code(BaseResult.SUCCESS).msg(BaseResult.OP_MSG_SUCC).data(data).build();