This commit is contained in:
lu7213 committed 2026-05-06 09:38:05 -04:00
1 parent f084d04808
commit b8cea4af69
2 files changed
+7 -1

No files matched your search

@@ -12,4 +12,6 @@ public class DmOperateVo implements Serializable {
private String winId;
private Integer operateType;
private Integer type;
private Integer x;
private Integer y;
}
@@ -179,10 +179,14 @@ public class DmPlayerentServiceImpl extends ServiceImpl<DmPlayerentMapper, DmPla
@Override
public boolean operate(DmOperateVo vo) {
JSONObject params = new JSONObject();
params.put("params", "");
if (vo.getType() == null) {
vo.setType(-1);
}
JSONObject params = new JSONObject();
if (vo.getX() != null && vo.getY() != null) {
params.put("params", vo.getX() + "|" + vo.getY());
}
if (vo.getAction() == 5) { //截图
try {
params.put("winId", vo.getWinId());