1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| package com.jsh.erp.utils;
|
| import com.alibaba.fastjson.JSONArray;
| import com.alibaba.fastjson.JSONObject;
|
| /**
| * Created by jishenghua 2018-5-11 09:48:08
| *
| * @author jishenghua
| */
| public class JsonUtils {
|
| public static JSONObject ok(){
| JSONObject obj = new JSONObject();
| JSONObject tmp = new JSONObject();
| tmp.put("message", "成功");
| obj.put("code", 200);
| obj.put("data", tmp);
| return obj;
| }
|
| }
|
|