xingzai 1 an în urmă
părinte
comite
a7bde1eae9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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()