feat(): 更改信息

1127/donghongyang
donghongyang 2024-11-30 12:10:01 +08:00
parent a91ea7b02e
commit 917e764c38
1 changed files with 12 additions and 4 deletions

View File

@ -11,13 +11,11 @@ import com.muyu.marketing.domain.model.ActivityTeamInfoListModel;
import com.muyu.marketing.domain.req.ActivityTeamInfoReq; import com.muyu.marketing.domain.req.ActivityTeamInfoReq;
import com.muyu.marketing.domain.req.ActivityTeamInfoSaveReq; import com.muyu.marketing.domain.req.ActivityTeamInfoSaveReq;
import com.muyu.marketing.domain.req.TeamInfoListReq; 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.domain.resp.TeamInfoListResp;
import com.muyu.marketing.team.service.ActivityTeamInfoService; import com.muyu.marketing.team.service.ActivityTeamInfoService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List; import java.util.List;
@ -76,4 +74,14 @@ public class ActivityTeamController {
return Result.success(activityTeamInfoPageInfo); 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);
}
} }