瀏覽代碼

Merge branch 'yb/5.1' into debug

xiexiaoyuan 2 年之前
父節點
當前提交
082495f1ea
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      services/community/question.go

+ 4 - 0
services/community/question.go

@@ -52,6 +52,10 @@ func GetQuestionList(pageIndex, pageSize, onlyMine, chartPermissionId, replyStat
 				condition += " and reply_status = 3"
 				condition += " and reply_status = 3"
 			}
 			}
 		}
 		}
+	}else{
+		if replyStatus == 3 {
+			condition += " and reply_status = 3"
+		}
 	}
 	}
 
 
 	if chartPermissionId > 0 {
 	if chartPermissionId > 0 {