Commit f9c4c75a authored by 黎博's avatar 黎博

供应链业务提交BUG通知

parent ab6716de
...@@ -39,6 +39,9 @@ public class WebhookServiceImpl implements WebhookService { ...@@ -39,6 +39,9 @@ public class WebhookServiceImpl implements WebhookService {
@Value("${jr.prod.ding.url}") @Value("${jr.prod.ding.url}")
private String jrProdDingUrl; private String jrProdDingUrl;
@Value("${gylyw.prod.ding.url}")
private String gylywProdDingUrl;
@Autowired @Autowired
UserPhoneMap userPhoneMap; UserPhoneMap userPhoneMap;
...@@ -79,6 +82,8 @@ public class WebhookServiceImpl implements WebhookService { ...@@ -79,6 +82,8 @@ public class WebhookServiceImpl implements WebhookService {
} else if (StringUtils.equals(key.split("-")[0], "YXMXS")) { } else if (StringUtils.equals(key.split("-")[0], "YXMXS")) {
// webhook赋值为电商群的机器人地址 // webhook赋值为电商群的机器人地址
webhook = dsProdDingUrl; webhook = dsProdDingUrl;
} else if (StringUtils.equals(key.split("-")[0], "GYLYW")) {
webhook = gylywProdDingUrl;
} else if (StringUtils.equals(key.split("-")[0], "CSXT")) { } else if (StringUtils.equals(key.split("-")[0], "CSXT")) {
webhook = "https://oapi.dingtalk.com/robot/send?access_token=be220b4bd17f311d70365a0ee81a659b54f06d52f1ee8d4d7d1051a183a266e1"; webhook = "https://oapi.dingtalk.com/robot/send?access_token=be220b4bd17f311d70365a0ee81a659b54f06d52f1ee8d4d7d1051a183a266e1";
} }
......
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