()
| 43 | } |
| 44 | |
| 45 | public static R systemError(){ |
| 46 | R r = new R(); |
| 47 | r.setSuccess(false); |
| 48 | r.setCode(ErrorCode.SYSTEM_ERROR.getCode()); |
| 49 | r.setMessage("失败"); |
| 50 | return r; |
| 51 | } |
| 52 | |
| 53 | public static R clientError(){ |
| 54 | R r = new R(); |
nothing calls this directly
no test coverage detected