23 lines
697 B
Java
23 lines
697 B
Java
package com.example.sso.dao;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.example.sso.util.V5utils;
|
|
|
|
public class Updatas {
|
|
|
|
public static void upid (String id, String ids) {
|
|
JSONObject jsonObject = new JSONObject();
|
|
jsonObject.put("app_id","694d0c4e4997401c0bb65edb");
|
|
jsonObject.put("entry_id","696a05f72b2ce8cf4109252e");
|
|
jsonObject.put("data_id",id);
|
|
JSONObject data = new JSONObject();
|
|
JSONObject task_id = new JSONObject();
|
|
task_id.put("value",ids);
|
|
data.put("lx_lxzt",task_id);
|
|
jsonObject.put("data",data);
|
|
String jsonString = jsonObject.toJSONString();
|
|
V5utils.updata(jsonString);
|
|
|
|
}
|
|
}
|