|  | @@ -1,7 +1,11 @@
 | 
	
		
			
				|  |  |  package com.yonge.cooleshow.student.controller.open;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.biz.dal.service.ActivityPlanService;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.service.StudentService;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.service.TeacherService;
 | 
	
		
			
				|  |  | +import com.yonge.cooleshow.biz.dal.vo.MusicActivityVo;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.vo.TeacherVo;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.common.entity.HttpResponseResult;
 | 
	
	
		
			
				|  | @@ -9,10 +13,7 @@ import com.yonge.toolset.base.util.StringUtil;
 | 
	
		
			
				|  |  |  import com.yonge.toolset.utils.string.ValueUtil;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.*;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestParam;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.util.Map;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -23,6 +24,8 @@ import java.util.Map;
 | 
	
		
			
				|  |  |  public class OpenClient extends BaseController {
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private TeacherService teacherService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private SysUserFeignService sysUserFeignService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private StudentService studentService;
 | 
	
	
		
			
				|  | @@ -55,4 +58,20 @@ public class OpenClient extends BaseController {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return studentService.bindTeacher(phone, userId, isUpdate);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @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);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |