27 lines
715 B
Java
27 lines
715 B
Java
package com.example.sso.controller;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.example.sso.util.AnQuanUtil;
|
|
|
|
public class TuiDanController {
|
|
public static void main(String[] args) {
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
jsonObject.put("username","10010");
|
|
jsonObject.put("password","000000");
|
|
JSONObject data = new JSONObject();
|
|
data.put("carNo","京BD55281");
|
|
data.put("vin","");
|
|
data.put("abortDate","2024-09-26");
|
|
data.put("remark","备注");
|
|
|
|
jsonObject.put("data",data);
|
|
String jsonString = jsonObject.toJSONString();
|
|
String chu = AnQuanUtil.tui( jsonString);
|
|
System.out.println(chu);
|
|
}
|
|
}
|