DateJsonUtil.java 1.93 KB
package cn.com.glsx.entmicro.manager;

import com.alibaba.fastjson.JSONObject;

/**
 * @author wangxw
 * @version 1.0.0
 * @ClassName DateJsonUtil.java
 * @description: ${description}
 * @createTime 2022年01月09日 14:24:00
 */
public class DateJsonUtil {
    public static JSONObject initDataJson() {
        JSONObject dataJson = new JSONObject();
        dataJson.put("merchantId", 10010001);

        JSONObject storeJson = initStoreJson();
        dataJson.put("data", storeJson);
        return dataJson;
    }

    private static JSONObject initStoreJson() {
        JSONObject storeJson = new JSONObject();
        storeJson.put("sex", "男");
        storeJson.put("birthday", "2020-12-12");
        storeJson.put("phone", "13800000000");
        storeJson.put("lastImportSource", "ERP");
        storeJson.put("makeListCount", 100);
        storeJson.put("makeListTime", "2020-12-12 12:12:12");
        storeJson.put("importSourceArray", "ERP,DMP");
        storeJson.put("keepArchivesCount", 100);
        storeJson.put("keepArchivesCountArray", "{\"ERP\":100,\"DMP\":100}");
        storeJson.put("carbrandArray", "奥迪,比亚迪");
        storeJson.put("carseriesArray", "奥迪A4,比亚迪F0");
        storeJson.put("lastBuyWay", "首购");
        storeJson.put("firstKeepArchivesTime", "2020-12-12 12:12:12");
        storeJson.put("trialCreateTime", "2020-12-12 12:12:12");
        storeJson.put("lastOrderTime", "2020-12-12 12:12:12");
        storeJson.put("lastDealTime", "2020-12-12 12:12:12");
        storeJson.put("lastCarbrand", "比亚迪");
        storeJson.put("lastCarseries", "比亚迪F0");
        storeJson.put("lastCartype", "比亚迪F0 2022款");
        storeJson.put("lastBuycarTime", "2020-12-12 12:12:12");
        storeJson.put("lastRepairTime", "2020-12-12 12:12:12");
        storeJson.put("lastEnteredTime", "2020-12-12 12:12:12");
        storeJson.put("lastUpkeepTime", "2020-12-12 12:12:12");
        return storeJson;
    }
}