浏览代码

自定义发送消息

renjiaojiao 3 年之前
父节点
当前提交
02e52c988e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/customerService/newsService.go

+ 1 - 1
src/customerService/newsService.go

@@ -113,7 +113,7 @@ func MsgList(param *MsgListParam, isLookAllMsg, loginUserId int, loginUserName s
 	}
 	if isLookAllMsg == 0 {
 		str += " a.send_userid = " + strconv.Itoa(loginUserId) + " and"
-	} else {
+	} else if isLookAllMsg != 1 {
 		if param.Creator != "" {
 			str += " a.send_name = '" + loginUserName + "' and"
 		}