123
This commit is contained in:
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 String winId;
|
||||||
private Integer operateType;
|
private Integer operateType;
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
private Integer x;
|
||||||
|
private Integer y;
|
||||||
}
|
}
|
||||||
+5
-1
@@ -179,10 +179,14 @@ public class DmPlayerentServiceImpl extends ServiceImpl<DmPlayerentMapper, DmPla
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean operate(DmOperateVo vo) {
|
public boolean operate(DmOperateVo vo) {
|
||||||
|
JSONObject params = new JSONObject();
|
||||||
|
params.put("params", "");
|
||||||
if (vo.getType() == null) {
|
if (vo.getType() == null) {
|
||||||
vo.setType(-1);
|
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) { //截图
|
if (vo.getAction() == 5) { //截图
|
||||||
try {
|
try {
|
||||||
params.put("winId", vo.getWinId());
|
params.put("winId", vo.getWinId());
|
||||||
|
|||||||
Reference in new issue
Block a user