You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
854 B

5 years ago
var baseUrl = app.walletBaseUrl;
//var baseUrl = "http://192.168.105.33:8090";
(function(obj) {
//获取聊天公告信息
obj.AJAX_GET_NOITICE = {
getUrl: baseUrl + "app/news/list?type=1",
getType: "GET"
}
//获取聊天快讯信息
obj.AJAX_GET_NEWS = {
getUrl: baseUrl + "app/news/list?type=2",
getType: "GET"
}
//获取发送消息用户头像、昵称
obj.AJAX_GET_SENDERINFO = {
getUrl: baseUrl + "app/chat/getSenderUserInfo",
getType: "POST"
}
//获取聊天融云token
obj.AJAX_GET_CHATIMTOKEN = {
getUrl: baseUrl + "app/chat/getImToken",
getType: "POST"
}
//聊天室用户禁言
obj.AJAX_CHAT_GAG_ADD = {
getUrl: baseUrl + "app/chat/gagAdd",
getType: "POST"
}
//聊天室管理员
obj.AJAX_CHAT_LIST_MANAGER = {
getUrl: baseUrl + "app/chat/listImManager",
getType: "GET"
}
}(window.charAjaxJs = {}))