REQ-2699: 在待办/消息按钮的url中追加workspaceType=2
This commit is contained in:
parent
b3f80a2301
commit
e8bfd598e4
@ -6,6 +6,7 @@ import cn.axzo.msg.center.service.enums.TerminalTypeEnum;
|
|||||||
import com.xxl.job.core.biz.model.ReturnT;
|
import com.xxl.job.core.biz.model.ReturnT;
|
||||||
import com.xxl.job.core.handler.IJobHandler;
|
import com.xxl.job.core.handler.IJobHandler;
|
||||||
import com.xxl.job.core.handler.annotation.XxlJob;
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
||||||
|
import com.xxl.job.core.log.XxlJobLogger;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
@ -70,6 +71,8 @@ public class AppendWorkspaceTypeJob extends IJobHandler {
|
|||||||
.eq(MessageRouterConfig::getId, config.getId())
|
.eq(MessageRouterConfig::getId, config.getId())
|
||||||
.set(MessageRouterConfig::getUrl, url)
|
.set(MessageRouterConfig::getUrl, url)
|
||||||
.update();
|
.update();
|
||||||
|
XxlJobLogger.log("append workspaceType success, id: {}, routerCode: {}, url: {}",
|
||||||
|
config.getId(), config.getRouterCode(), url);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user