|
@@ -26,12 +26,12 @@ public class R<T> implements Serializable
|
|
|
|
|
|
public static <T> R<T> ok()
|
|
|
{
|
|
|
- return restResult(null, SUCCESS, null);
|
|
|
+ return restResult(null, SUCCESS, "ok");
|
|
|
}
|
|
|
|
|
|
public static <T> R<T> ok(T data)
|
|
|
{
|
|
|
- return restResult(data, SUCCESS, null);
|
|
|
+ return restResult(data, SUCCESS, "ok");
|
|
|
}
|
|
|
|
|
|
public static <T> R<T> ok(T data, String msg)
|