| | |
| | | |
| | | public static final int CODE_UNAUTHORIZED = 401; //认证失败 |
| | | public static final int CODE_WECHAT_UNAUTHORIZED = 1401; //认证失败 |
| | | public static final int CODE_BUSINESS_VERIFICATION = 5010; //业务校验未通过 |
| | | |
| | | public static final int ORDER_ERROR = 500; //订单调度异常 |
| | | |
| | |
| | | private int records; |
| | | |
| | | // 总记录数 |
| | | private int total; |
| | | private long total; |
| | | |
| | | //状态 |
| | | private int code; |
| | |
| | | } |
| | | |
| | | public ResultVo(int records, int total, Object data) { |
| | | this.code = CODE_OK; |
| | | this.msg = MSG_OK; |
| | | this.records = records; |
| | | this.total = total; |
| | | this.data = data; |
| | | } |
| | | |
| | | public ResultVo(int records, long total, Object data) { |
| | | this.code = CODE_OK; |
| | | this.msg = MSG_OK; |
| | | this.records = records; |
| | |
| | | this.records = records; |
| | | } |
| | | |
| | | public int getTotal() { |
| | | public long getTotal() { |
| | | return total; |
| | | } |
| | | |