通用API封装对象注释修改
This commit is contained in:
@@ -6,7 +6,7 @@ import org.springframework.data.domain.Page;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页数据封装类
|
* 通用分页数据封装类
|
||||||
* Created by macro on 2019/4/19.
|
* Created by macro on 2019/4/19.
|
||||||
*/
|
*/
|
||||||
public class CommonPage<T> {
|
public class CommonPage<T> {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.macro.mall.common.api;
|
package com.macro.mall.common.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通用返回对象
|
* 通用返回结果封装类
|
||||||
* Created by macro on 2019/4/19.
|
* Created by macro on 2019/4/19.
|
||||||
*/
|
*/
|
||||||
public class CommonResult<T> {
|
public class CommonResult<T> {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.macro.mall.common.api;
|
package com.macro.mall.common.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 常用API返回对象接口
|
* API返回码接口
|
||||||
* Created by macro on 2019/4/19.
|
* Created by macro on 2019/4/19.
|
||||||
*/
|
*/
|
||||||
public interface IErrorCode {
|
public interface IErrorCode {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.macro.mall.common.api;
|
package com.macro.mall.common.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 常用API返回对象
|
* API返回码封装类
|
||||||
* Created by macro on 2019/4/19.
|
* Created by macro on 2019/4/19.
|
||||||
*/
|
*/
|
||||||
public enum ResultCode implements IErrorCode {
|
public enum ResultCode implements IErrorCode {
|
||||||
|
|||||||
Reference in New Issue
Block a user