| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.constant.CommonConstant; |
| | | import com.java110.common.util.Assert; |
| | | import com.java110.common.util.DateUtil; |
| | | import com.java110.utils.constant.CommonConstant; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.DateUtil; |
| | | import com.java110.entity.order.Business; |
| | | import com.java110.entity.order.BusinessAttrs; |
| | | import com.java110.entity.order.Orders; |
| | |
| | | |
| | | //构建返回头 |
| | | builderResHeaders(); |
| | | |
| | | //构建返回json 为{"msg":[]} |
| | | builderResJson(); |
| | | |
| | | //构建 订单信息 |
| | | builderOrders(); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 初始化构建返回报文 |
| | | */ |
| | | private void builderResJson(){ |
| | | JSONObject resJson = new JSONObject(); |
| | | resJson.put("msg",new JSONArray()); |
| | | this.setResJson(resJson); |
| | | } |
| | | |
| | | |
| | | public Orders getOrders() { |
| | | return orders; |