xingzai преди 1 година
родител
ревизия
a7bde1eae9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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()