|
|
|
@ -83,7 +83,7 @@ public class R<T> implements Serializable |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public R<T> buildRepeatRequest(int time){ |
|
|
|
return restResult(null,ResponseEnum.REPEAT_REQUEST_ERROR.getCode(),time+"分钟内"+ResponseEnum.REPEAT_REQUEST_ERROR.getMsg()); |
|
|
|
return restResult(null,ResponseEnum.REPEAT_REQUEST_ERROR.getCode(),time+"秒内"+ResponseEnum.REPEAT_REQUEST_ERROR.getMsg()); |
|
|
|
} |
|
|
|
|
|
|
|
private static <T> R<T> restResult(T data, int code, String msg) |
|
|
|
|