|
|
|
@ -359,7 +359,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 连接webSocket
|
|
|
|
|
ws = new WebSocket("wss://{{ .webSocketUrl }}/acc");
|
|
|
|
|
ws = new WebSocket("{{ .webSocketUrl }}/acc");
|
|
|
|
|
|
|
|
|
|
ws.onopen = function(evt) {
|
|
|
|
|
console.log("Connection open ...");
|
|
|
|
@ -432,7 +432,7 @@
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
url: 'http://{{ .httpUrl }}/user/sendMessageAll',
|
|
|
|
|
url: '{{ .httpUrl }}/user/sendMessageAll',
|
|
|
|
|
data: {
|
|
|
|
|
appId: appId,
|
|
|
|
|
userId: person,
|
|
|
|
@ -454,7 +454,7 @@
|
|
|
|
|
function getUserList() {
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "GET",
|
|
|
|
|
url: "http://{{ .httpUrl }}/user/list?appId=" + appId,
|
|
|
|
|
url: "{{ .httpUrl }}/user/list?appId=" + appId,
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function(data) {
|
|
|
|
|
console.log("user list:" + data.code + "userList:" + data.data.userList);
|
|
|
|
|