|  | @@ -3,10 +3,8 @@ package com.yonge.cooleshow.teacher.controller.open;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.dto.search.ShareProfitParam;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.service.CourseGroupService;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.service.MemberPriceSettingsService;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.service.MusicSheetService;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.service.VideoLessonGroupService;
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.biz.dal.service.*;
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.biz.dal.vo.MusicActivityVo;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.vo.ShareProfitVo;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.common.entity.HttpResponseResult;
 | 
	
	
		
			
				|  | @@ -15,10 +13,7 @@ import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import org.slf4j.Logger;
 | 
	
		
			
				|  |  |  import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.PostMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestBody;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import javax.annotation.Resource;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -90,4 +85,20 @@ public class OpenShareController extends BaseController {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return succeed(memberPriceSettingsService.shareVipProfit(sysUser,param.getBizId()));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private ActivityPlanService activityPlanService;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "老师活动分享", notes = "活动id")
 | 
	
		
			
				|  |  | +    @PostMapping(value = "/activity/info/{id}")
 | 
	
		
			
				|  |  | +    public HttpResponseResult<MusicActivityVo> getDetail(@PathVariable Long id) {
 | 
	
		
			
				|  |  | +        SysUser user = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        MusicActivityVo activityVo = activityPlanService.getActivityInfo(id, user);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        return succeed(activityVo);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |