1
This commit is contained in:
parent
73af8eb2f7
commit
5c1b66e884
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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){
|
||||||
|
@ -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){
|
||||||
|
@ -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) {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user