This commit is contained in:
Vinjor 2025-04-28 16:27:43 +08:00
parent 73af8eb2f7
commit 5c1b66e884
6 changed files with 8 additions and 8 deletions

View File

@ -955,7 +955,7 @@ export default {
*/ */
async getNoReadNum(){ async getNoReadNum(){
await request({ await request({
url: "/admin-api/system/notify-message/get-unread-count", url: "/admin-api/system/notify-message/get-unread-count?systemCode=weixiu",
method: "GET" method: "GET"
}).then((res) => { }).then((res) => {
if(res.code==200){ if(res.code==200){
@ -981,7 +981,7 @@ export default {
params: { params: {
pageNo:1, pageNo:1,
pageSize:1, pageSize:1,
type:1, typeStr:"1,2",
parentServer: "weixiu", parentServer: "weixiu",
server: "app" server: "app"
}, },

View File

@ -96,7 +96,7 @@
params:{ params:{
pageNo:this.pageNo, pageNo:this.pageNo,
pageSize:this.pageSize, pageSize:this.pageSize,
type:1, typeStr:"1,2",
parentServer: "weixiu", parentServer: "weixiu",
server: "app" server: "app"
} }

View File

@ -388,7 +388,7 @@ export default {
*/ */
async getNoReadNum() { async getNoReadNum() {
await request({ await request({
url: "/admin-api/system/notify-message/get-unread-count", url: "/admin-api/system/notify-message/get-unread-count?systemCode=weixiu",
method: "GET" method: "GET"
}).then((res) => { }).then((res) => {
if (res.code == 200) { if (res.code == 200) {
@ -419,7 +419,7 @@ export default {
params: { params: {
pageNo: 1, pageNo: 1,
pageSize: 1, pageSize: 1,
type: 1, typeStr:"1,2",
parentServer: "weixiu", parentServer: "weixiu",
server: "app" server: "app"
}, },

View File

@ -89,7 +89,7 @@
*/ */
async getNoReadNum(){ async getNoReadNum(){
await request({ await request({
url: "/admin-api/system/notify-message/get-unread-count", url: "/admin-api/system/notify-message/get-unread-count?systemCode=weixiu",
method: "GET" method: "GET"
}).then((res) => { }).then((res) => {
if(res.code==200 && res.data>0){ if(res.code==200 && res.data>0){

View File

@ -332,7 +332,7 @@
*/ */
async getNoReadNum(){ async getNoReadNum(){
await request({ await request({
url: "/admin-api/system/notify-message/get-unread-count", url: "/admin-api/system/notify-message/get-unread-count?systemCode=weixiu",
method: "GET" method: "GET"
}).then((res) => { }).then((res) => {
if(res.code==200 && res.data>0){ if(res.code==200 && res.data>0){

View File

@ -10,7 +10,7 @@ import config from '@/config'
export function tabBarconnect(tenantId, userId) { export function tabBarconnect(tenantId, userId) {
console.log("通知socket链接", tenantId, userId); console.log("通知socket链接", tenantId, userId);
var socketTask = uni.connectSocket({ var socketTask = uni.connectSocket({
url: config.wsUrl + '/websocket/message/'+tenantId+'/' + userId, url: config.wsUrl + '/websocket/message/weixiu/'+tenantId+'/' + userId,
success(res) { success(res) {
}, },