123
This commit is contained in:
1 parent
a19f0e8e46
commit
2707f3e7bb
1 file changed
+1
+1
@@ -223,6 +223,7 @@ public class DmPlayerConfigServiceImpl extends ServiceImpl<DmPlayerConfigMapper,
|
|||||||
if (resutl > 0) {
|
if (resutl > 0) {
|
||||||
try {
|
try {
|
||||||
JSONObject params = new JSONObject();
|
JSONObject params = new JSONObject();
|
||||||
|
params.put("playerId", dmPlayerConfig.getPlayerId());
|
||||||
params.put("dates", Base64.getEncoder().encodeToString(JSONObject.toJSONString(dmPlayerConfig).getBytes()));
|
params.put("dates", Base64.getEncoder().encodeToString(JSONObject.toJSONString(dmPlayerConfig).getBytes()));
|
||||||
String result = httpHelper.getlHttpResult("http://" + this.serverIp + ":" + serverPort + "?cmd=8¶ms=" + URLEncoder.encode(JSONObject.toJSONString(params), "utf-8")
|
String result = httpHelper.getlHttpResult("http://" + this.serverIp + ":" + serverPort + "?cmd=8¶ms=" + URLEncoder.encode(JSONObject.toJSONString(params), "utf-8")
|
||||||
, "get", new HashMap<>(), new HashMap<>());
|
, "get", new HashMap<>(), new HashMap<>());
|
||||||
|
|||||||
Reference in new issue
Block a user