|
@@ -28,7 +28,8 @@ import java.util.List;
|
|
|
public class SendUskyJob {
|
|
|
|
|
|
private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
- private static final String USKY_URL = "https://gateway.usky.cn/prod-api/system/mceReceive/addMce";
|
|
|
+ //private static final String USKY_URL = "https://gateway.usky.cn/prod-api/system/mceReceive/addMce";
|
|
|
+ private static final String USKY_URL = "http://172.16.66.143:9886/mceReceive/addMce";
|
|
|
private static final String USKY_TEST_URL = "http://192.168.10.165:13200/offline-api/system/mceReceive/addMce";
|
|
|
|
|
|
@Autowired
|
|
@@ -76,7 +77,7 @@ public class SendUskyJob {
|
|
|
int failCount = 0;
|
|
|
for (Notify send : unSend) {
|
|
|
JSONObject sendJson = new JSONObject()
|
|
|
- .put("infoTypeName", "message_type")
|
|
|
+ .put("infoTypeName", "OA审批")
|
|
|
.put("infoType", 3)
|
|
|
.put("infoTitle", "OA审批")
|
|
|
.put("infoContent", send.getContent() + "。 url:" + send.getUrl())
|