main
parent
ab10cb5e78
commit
b4a1ecc024
|
|
@ -111,7 +111,7 @@ public class AppRegisterController extends BaseController {
|
|||
public static void main(String[] args) {
|
||||
HttpClient httpClient = HttpClients.createDefault();
|
||||
String pushId = "7e63c670480d8f2060f8d21800c3ae17";
|
||||
String url = "https://fc-mp-7a162b82-1b95-423b-bbba-424378aedca1.next.bspapp.com/urlPush/pushId?pushId=" + pushId + "&title=审核失败&content=审核被驳回";
|
||||
String url = "https://unicloud.gbgobig.com/urlPush/pushId?pushId=" + pushId + "&title=审核失败&content=审核被驳回";
|
||||
|
||||
try {
|
||||
HttpGet request = new HttpGet(url);
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public class AppMessageServiceImpl implements IAppMessageService
|
|||
continue;
|
||||
}
|
||||
HttpClient httpClient = HttpClients.createDefault();
|
||||
String url = "https://fc-mp-7a162b82-1b95-423b-bbba-424378aedca1.next.bspapp.com/urlPush/pushId?pushId=" + appUser.getPushId() + "&content=" + appMessage.getContent();
|
||||
String url = "https://unicloud.gbgobig.com/urlPush/pushId?pushId=" + appUser.getPushId() + "&content=" + appMessage.getContent();
|
||||
try {
|
||||
HttpGet request = new HttpGet(url);
|
||||
HttpResponse response = httpClient.execute(request);
|
||||
|
|
@ -88,7 +88,7 @@ public class AppMessageServiceImpl implements IAppMessageService
|
|||
if (appMessage.getType() == 0) {
|
||||
log.info("马上通知啦----------");
|
||||
HttpClient httpClient = HttpClients.createDefault();
|
||||
String url = "https://fc-mp-7a162b82-1b95-423b-bbba-424378aedca1.next.bspapp.com/urlPush/chatId?userId=&title="+ appMessage.getTitle() + "&content=" + appMessage.getContent() + "&payload=%7B%22type%22:%223%22,%22userId%22:%22%22%7D";
|
||||
String url = "https://unicloud.gbgobig.com/urlPush/chatId?userId=&title="+ appMessage.getTitle() + "&content=" + appMessage.getContent() + "&payload=%7B%22type%22:%223%22,%22userId%22:%22%22%7D";
|
||||
try {
|
||||
HttpGet request = new HttpGet(url);
|
||||
HttpResponse response = httpClient.execute(request);
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ public class AppRegisterServiceImpl implements IAppRegisterService {
|
|||
sendNoteUtil.sendMessage(appRegister.getPhone());
|
||||
HttpClient httpClient = HttpClients.createDefault();
|
||||
String pushId = appRegister.getPushId() != null ? appRegister.getPushId() : null;
|
||||
String url = "https://fc-mp-7a162b82-1b95-423b-bbba-424378aedca1.next.bspapp.com/urlPush/pushId?pushId=" + pushId + "&title=审核完成&content=审核已通过!";
|
||||
String url = "https://unicloud.gbgobig.com/urlPush/pushId?pushId=" + pushId + "&title=审核完成&content=审核已通过!";
|
||||
|
||||
try {
|
||||
HttpGet request = new HttpGet(url);
|
||||
|
|
@ -261,7 +261,7 @@ public class AppRegisterServiceImpl implements IAppRegisterService {
|
|||
if (i > 0) {
|
||||
HttpClient httpClient = HttpClients.createDefault();
|
||||
String pushId = appRegister.getPushId() != null ? appRegister.getPushId() : null;
|
||||
String url = "https://fc-mp-7a162b82-1b95-423b-bbba-424378aedca1.next.bspapp.com/urlPush/pushId?pushId=" + pushId + "&title=审核失败&content=审核已被驳回!";
|
||||
String url = "https://unicloud.gbgobig.com/urlPush/pushId?pushId=" + pushId + "&title=审核失败&content=审核已被驳回!";
|
||||
|
||||
try {
|
||||
HttpGet request = new HttpGet(url);
|
||||
|
|
|
|||
|
|
@ -36,4 +36,5 @@ public class AlipayConstant {
|
|||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue