Explorar el Código

自定义发送消息

renjiaojiao hace 3 años
padre
commit
02e52c988e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"
 		}