feat(): 更改信息

1127/donghongyang
donghongyang 2024-11-30 12:08:26 +08:00
parent 0a5e8071d1
commit 2ec5822072
1 changed files with 14 additions and 4 deletions

View File

@ -1,6 +1,7 @@
package com.muyu.marketing.team.controller;
import com.dtflys.forest.annotation.Get;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.muyu.common.core.domain.Result;
@ -11,13 +12,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;
@ -52,6 +51,7 @@ public class ActivityTeamController {
}
/**
*
* @param activityTeamInfoSaveReq
@ -76,4 +76,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);
}
}