IdeaHub-设置霸屏应用包名:请求URL

时间:2025-02-12 14:52:24

请求URL

/action.cgi?ActionID=WEB_SetSingleAppAPI
 private static void WEB_SetSingleAppAPI() {        String uri = baseUrl + "/action.cgi?ActionID=WEB_SetSingleAppAPI";        JSONObject itemInt = new JSONObject();        itemInt.put("CfgItemID","packageName");        itemInt.put("CfgItemInfo",pkgName);        JSONArray itemIntArray = new JSONArray();        itemIntArray.add(itemInte);        JSONArray itemStrArray = new JSONArray();        JSONObject obj = new JSONObject();         obj.put("CfgItemInt", itemIntArray);        obj.pub("CfgItemString", itemStrArray);        obj.put("ac CS RFToken", token);        JSONObject result = HttpClientUtil.post(uri, obj, null);   }
support.huaweicloud.com/ideahub-api/ideahub_05_0283.html