|
|
@@ -8,10 +8,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
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.*;
|
|
|
|
|
|
@RestController
|
|
|
@Api(tags = "拍卖公告")
|
|
|
@@ -28,4 +25,10 @@ public class LotNoticeController {
|
|
|
return AjaxResult.success(lotNoticePage);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("detail/{id}")
|
|
|
+ public AjaxResult getNoticeDetail(@PathVariable("id") Long id){
|
|
|
+ LotNotice lotNotice = lotNoticeService.getById(id);
|
|
|
+ return AjaxResult.success(lotNotice);
|
|
|
+ }
|
|
|
+
|
|
|
}
|