xingzai 1 жил өмнө
parent
commit
a7bde1eae9

+ 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()