Browse Source

no message

xingzai 11 months ago
parent
commit
0945e77086
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/activity.go

+ 1 - 1
controllers/activity.go

@@ -879,7 +879,6 @@ func (this *ActivityNoLoginController) Detail() {
 			return
 		}
 		detailResp.SignupType = mapActivitySignup[activityId]
-		detailResp.ShareImg = services.GetActivityShareImg(activityInfo)
 		resp.Detail = detailResp
 	} else {
 		hasPermission, sellerName, sellerMobile, popupMsg, err := services.GetUserHasPermission(user)
@@ -909,6 +908,7 @@ func (this *ActivityNoLoginController) Detail() {
 		br.ErrMsg = "ActivityDetaailShow Err:" + err.Error() + "activityId:" + strconv.Itoa(activityId)
 		return
 	}
+	detailResp.ShareImg = services.GetActivityShareImg(activityInfo)
 	resp.Detail = detailResp
 	br.Ret = 200
 	br.Success = true