|
|
|
@ -24,8 +24,10 @@ import org.springblade.core.tool.utils.CollectionUtil;
|
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
|
import org.springblade.core.tool.utils.ObjectUtil; |
|
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
|
import org.springblade.system.dto.ControlDTO; |
|
|
|
|
import org.springblade.system.dto.DeptStationDTO; |
|
|
|
|
import org.springblade.system.feign.IDeptClient; |
|
|
|
|
import org.springblade.system.feign.IRemoteClient; |
|
|
|
|
import org.springblade.system.user.feign.IUserClient; |
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
|
import org.springframework.data.redis.core.RedisTemplate; |
|
|
|
@ -50,6 +52,8 @@ public class InteractiveServiceImpl implements IInteractiveService {
|
|
|
|
|
|
|
|
|
|
private final BladeLogger logger; |
|
|
|
|
|
|
|
|
|
private final IRemoteClient remoteClient; |
|
|
|
|
|
|
|
|
|
private final IJumpPageService jumpPageService; |
|
|
|
|
|
|
|
|
|
private final IParamsService paramsService; |
|
|
|
@ -263,4 +267,14 @@ public class InteractiveServiceImpl implements IInteractiveService {
|
|
|
|
|
this.addQuestionSessionId(sessionId); |
|
|
|
|
return R.success("消息发送成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 下发遥控指令 |
|
|
|
|
* @param operate |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public Object sendRemoteControl(ControlDTO operate) { |
|
|
|
|
return remoteClient.sendCtrl(operate); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|