old mode 100644
new mode 100755
| | |
| | | |
| | | 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 Object sumTotal; |
| | | |
| | | //所需数据 |
| | | private Object rep; |
| | | |
| | | public ResultVo() { |
| | | } |
| | | |
| | |
| | | this.total = total; |
| | | this.data = data; |
| | | this.sumTotal = sumTotal; |
| | | } |
| | | |
| | | public ResultVo(int records, int total, Object data, Object sumTotal, Object rep) { |
| | | this.code = CODE_OK; |
| | | this.msg = MSG_OK; |
| | | this.records = records; |
| | | this.total = total; |
| | | this.data = data; |
| | | this.sumTotal = sumTotal; |
| | | this.rep = rep; |
| | | } |
| | | |
| | | public ResultVo(int code, String msg, Object data) { |
| | |
| | | this.sumTotal = sumTotal; |
| | | } |
| | | |
| | | public Object getRep() { |
| | | return rep; |
| | | } |
| | | |
| | | public void setRep(Object rep) { |
| | | this.rep = rep; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return JSONObject.toJSONString(this, SerializerFeature.DisableCircularReferenceDetect, SerializerFeature.WriteDateUseDateFormat); |