feat: 消息改为所有人可见
This commit is contained in:
parent
f387806924
commit
f66efef4ba
@ -97,19 +97,23 @@ const getProjDiffInfo = async () => {
|
|||||||
return group.slice(0, 5);
|
return group.slice(0, 5);
|
||||||
};
|
};
|
||||||
|
|
||||||
const getRobotMsg = async () => JSON.stringify({
|
const getRobotMsg = async () =>
|
||||||
type: "template",
|
JSON.stringify({
|
||||||
data: {
|
type: "template",
|
||||||
template_id: "ctp_AAyVLS6Q37cL",
|
data: {
|
||||||
template_variable: {
|
config: {
|
||||||
...(await getNewCicdStatus()),
|
update_multi: true,
|
||||||
...(await getStatisticsInfo()),
|
},
|
||||||
group_table: await getProjDiffInfo(),
|
template_id: "ctp_AAyVLS6Q37cL",
|
||||||
|
template_variable: {
|
||||||
|
...(await getNewCicdStatus()),
|
||||||
|
...(await getStatisticsInfo()),
|
||||||
|
group_table: await getProjDiffInfo(),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
});
|
||||||
})
|
|
||||||
|
|
||||||
const sendRobotMsg = async () => await service.sendMessage(await getRobotMsg())
|
const sendRobotMsg = async () => await service.sendMessage(await getRobotMsg());
|
||||||
|
|
||||||
const manageRobot = {
|
const manageRobot = {
|
||||||
getRobotMsg,
|
getRobotMsg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user