Commit 3f98a3ae by chenjinjing

no message

parent 1fa89991
...@@ -99,13 +99,13 @@ export async function addMessage({userId, lableId, msgTitle, effectiveTime, msgC ...@@ -99,13 +99,13 @@ export async function addMessage({userId, lableId, msgTitle, effectiveTime, msgC
if(lableId.includes(CLIENTMSGLABLE.所有人)) { if(lableId.includes(CLIENTMSGLABLE.所有人)) {
selectParam = {}; selectParam = {};
} else if (lableId.includes(CLIENTMSGLABLE.个人会员)) { } else if (lableId.includes(CLIENTMSGLABLE.个人会员)) {
selectParam = {memberType:{"$in": parseInt(CLIENTMSGLABLE.个人会员)}} selectParam = {memberType:{"$in": MEMBERTYPE.个人会员}}
} else if (lableId.includes(CLIENTMSGLABLE.单位会员)) { } else if (lableId.includes(CLIENTMSGLABLE.单位会员)) {
selectParam = {memberType:{"$in": parseInt(CLIENTMSGLABLE.单位会员)}} selectParam = {memberType:{"$in": MEMBERTYPE.单位会员}}
} else if (lableId.includes(CLIENTMSGLABLE.理事)) { } else if (lableId.includes(CLIENTMSGLABLE.理事)) {
selectParam = {memberLever:{"$in": parseInt(CLIENTMSGLABLE.理事)}} selectParam = {memberLever:{"$in": MEMBERLEVEL.理事会员}}
} else if (lableId.includes(CLIENTMSGLABLE.常务理事)) { } else if (lableId.includes(CLIENTMSGLABLE.常务理事)) {
selectParam = {memberLever:{"$in": parseInt(CLIENTMSGLABLE.常务理事)}} selectParam = {memberLever:{"$in": MEMBERLEVEL.常务理事会员}}
} else { } else {
selectParam = {lableId:{"$in":lableId}} selectParam = {lableId:{"$in":lableId}}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment