查询实训体验

This commit is contained in:
guohb
2024-04-02 15:30:41 +08:00
parent 9599296476
commit 7ac4057d3f
4 changed files with 15 additions and 6 deletions

View File

@@ -1,15 +1,13 @@
package com.cool.store.controller.webc;
import com.cool.store.entity.LeaseBaseInfoDO;
import com.cool.store.request.TrainingExperienceChangeRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.TrainingExperienceService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
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;
@@ -29,4 +27,12 @@ public class MiniTrainingExperienceController {
return ResponseResult.success();
}
@ApiOperation("查询实训体验")
@GetMapping("/getStore")
public ResponseResult<LeaseBaseInfoDO> getStore(@RequestParam("lineId") Long lineId) {
return ResponseResult.success(trainingExperienceService.getTrainingExperience(lineId));
}
}