|
@@ -1532,7 +1532,6 @@ func (this *UserCommonController) LoginPublic() {
|
|
|
|
|
|
// @Title 获取我的留言
|
|
|
// @Description 获取我的留言列表
|
|
|
-// @Param CommentType query int true "留言种类,1报告 2微路演"
|
|
|
// @Success 200 {object} models.CygxCommentListResp
|
|
|
// @router /comment/list [get]
|
|
|
func (this *UserController) CommnetList() {
|
|
@@ -1548,10 +1547,9 @@ func (this *UserController) CommnetList() {
|
|
|
br.Ret = 408
|
|
|
return
|
|
|
}
|
|
|
- commentType, _ := this.GetInt("CommentType", 1)
|
|
|
|
|
|
userId := this.User.UserId
|
|
|
- commentlist, err := models.GetCommentList(userId, commentType)
|
|
|
+ commentlist, err := models.GetCommentList(userId)
|
|
|
if err != nil && err.Error() != utils.ErrNoRow() {
|
|
|
br.Msg = "获取失败"
|
|
|
br.ErrMsg = "获取我的留言列表失败,Err:" + err.Error()
|