瀏覽代碼

no message

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