Commit 8a88dd07 authored by zhangsen's avatar zhangsen

交互动作 -> 极光推送

parent 55aa5f11
......@@ -17,6 +17,7 @@ import com.yeejoin.amos.fas.business.action.result.ActionResult;
import com.yeejoin.amos.fas.business.action.result.SafteyPlanResult;
import com.yeejoin.amos.fas.business.action.result.message.AbstractActionResultMessage;
import com.yeejoin.amos.fas.business.action.util.ContingencyLogPublisher;
import com.yeejoin.amos.fas.business.controller.ContingencyPlanController;
import com.yeejoin.amos.fas.business.dao.mapper.PlanDetailMapper;
import com.yeejoin.amos.fas.business.dao.mapper.PlanOperationRecordMapper;
import com.yeejoin.amos.fas.business.dao.repository.IPlanDetailDao;
......@@ -127,6 +128,12 @@ public class ContingencyAction implements CustomerAction {
@Autowired
private IPlanRuleService planRuleService;
@Autowired
private IPlanVisual3dService iPlanVisual3dService;
@Autowired
private ContingencyPlanController contingencyPlanController;
@Value("${rocket-plan-topic}")
private String rocketTopic;
......@@ -483,6 +490,9 @@ public class ContingencyAction implements CustomerAction {
result.add(tempmap1);
this.sendcmd("optionarea", paramObj, result);
//极光推送
Object messageInfo = contingencyPlanController.getUserOperateCountAndPlanName().getResult();
iPlanVisual3dService.sendMessage(JSONUtil.toJson(messageInfo), contingencyRo.getButtonCode());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment