xingzai 1 рік тому
батько
коміт
d5fafe1538
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      controllers/activity.go

+ 2 - 2
controllers/activity.go

@@ -873,7 +873,7 @@ func (this *ActivityController) Detail() {
 			return
 		}
 		detailResp.SignupType = mapActivitySignup[activityId]
-
+		resp.Detail = detailResp
 	} else {
 		hasPermission, sellerName, sellerMobile, popupMsg, err := services.GetUserHasPermission(user)
 		if err != nil {
@@ -888,7 +888,7 @@ func (this *ActivityController) Detail() {
 		resp.SellerMobile = sellerMobile
 	}
 	detailResp.AuthInfo.HasPermission = resp.HasPermission
-	resp.Detail = detailResp
+
 	// 判断是否属于研选类型的活动
 	if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
 		resp.IsResearch = true