xingzai vor 1 Jahr
Ursprung
Commit
a7bde1eae9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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()