Class ShiroAsyncTask

java.lang.Object
com.mikuac.shiro.task.ShiroAsyncTask

@Component public class ShiroAsyncTask extends Object
异步任务
  • Constructor Details

    • ShiroAsyncTask

      public ShiroAsyncTask()
  • Method Details

    • setBotContainer

      @Autowired public void setBotContainer(BotContainer botContainer)
    • execHandlerMsg

      @Async("shiroTaskExecutor") public void execHandlerMsg(EventHandler event, long xSelfId, com.alibaba.fastjson2.JSONObject resp)
      事件上报处理函数
      Parameters:
      event - EventHandler
      xSelfId - 机器人 QQ
      resp - 上报的 Json 数据