feat(): 更改信息
parent
a91ea7b02e
commit
917e764c38
|
@ -11,13 +11,11 @@ import com.muyu.marketing.domain.model.ActivityTeamInfoListModel;
|
|||
import com.muyu.marketing.domain.req.ActivityTeamInfoReq;
|
||||
import com.muyu.marketing.domain.req.ActivityTeamInfoSaveReq;
|
||||
import com.muyu.marketing.domain.req.TeamInfoListReq;
|
||||
import com.muyu.marketing.domain.resp.ActivityTeamInfoDatailResp;
|
||||
import com.muyu.marketing.domain.resp.TeamInfoListResp;
|
||||
import com.muyu.marketing.team.service.ActivityTeamInfoService;
|
||||
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 java.util.List;
|
||||
|
||||
|
@ -76,4 +74,14 @@ public class ActivityTeamController {
|
|||
return Result.success(activityTeamInfoPageInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据活动Id查询信息
|
||||
* @param
|
||||
* @return 结果集
|
||||
*/
|
||||
@GetMapping("/byId/{id}")
|
||||
public Result<ActivityTeamInfoDatailResp> findById(@PathVariable Long id) {
|
||||
ActivityTeamInfoDatailResp activityById = activityTeamInfoService.findActivityById(id);
|
||||
return Result.success(activityById);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue