xingzai 1 gadu atpakaļ
vecāks
revīzija
a7bde1eae9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      controllers/yanxuan_special.go

+ 1 - 1
controllers/yanxuan_special.go

@@ -165,7 +165,7 @@ func (this *BaseAuthMobileController) Detail() {
 		return
 	}
 	userId := user.UserId
-	item, tmpErr := models.GetYanxuanSpecialById(specialId, user.UserId)
+	item, tmpErr := models.GetYanxuanSpecialById(specialId, userId)
 	if tmpErr != nil {
 		br.Msg = "获取失败"
 		br.ErrMsg = "获取失败, Err:" + tmpErr.Error()