|
|
@ -2,9 +2,8 @@ package vip.xumy.core.pojo.com; |
|
|
|
|
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
|
|
|
|
/** All rights reserved |
|
|
|
/** |
|
|
|
* author:mengyxu |
|
|
|
* All rights reserved author:mengyxu date:2019年6月26日 |
|
|
|
* date:2019年6月26日 |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@Data |
|
|
|
@Data |
|
|
@ -28,4 +27,20 @@ public class AjaxResponse { |
|
|
|
this.data = data; |
|
|
|
this.data = data; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static AjaxResponse successed(String msg) { |
|
|
|
|
|
|
|
return new AjaxResponse(true, msg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static AjaxResponse failed(String msg) { |
|
|
|
|
|
|
|
return new AjaxResponse(false, msg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static AjaxResponse successed() { |
|
|
|
|
|
|
|
return new AjaxResponse(true, "操作成功"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static AjaxResponse failed() { |
|
|
|
|
|
|
|
return new AjaxResponse(false, "操作失败"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|