zhipai
This commit is contained in:
3
index.js
3
index.js
@@ -5,13 +5,14 @@ let buglist = {}
|
||||
|
||||
|
||||
function tongzhi(info,type){
|
||||
let title = `${type == 1 ? '新增bug' : '指派到:' + info.zp},${info.title}`;
|
||||
let title = `${type == 1 ? '新增bug' + info.zp : '指派到:' + info.zp},${info.title}`;
|
||||
let data = `
|
||||
### 创建人 ${info.cj}
|
||||
### 指派给 ${info.zp}
|
||||
### [地址](${baseurl + info.url})
|
||||
${new Date().toString()}
|
||||
`
|
||||
|
||||
console.log({text:title,desp:data})
|
||||
// console.log(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send?text=${title}&desp=${data}`)
|
||||
axios.post(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send`,`text=${title}&desp=${data}`).then((res)=>{
|
||||
|
||||
Reference in New Issue
Block a user