前言
基于Spring Boot + Vue3实现的在线商品竞拍管理系统是一种现代化的前后端分离架构的应用程序,它结合了Java后端框架Spring Boot和JavaScript前端框架Vue.js的最新版本(Vue 3)。该系统允许用户在线参与商品竞拍,并提供管理后台用于管理员对竞拍活动进行管理和监控。
技术选型
系统环境
- Java EE 8
- Servlet 3.0
- Apache Maven 3
主框架
- Spring Boot 2.2.x
- Spring Framework 5.2.x
- Spring Security 5.2.x
持久层
- Apache MyBatis 3.5.x
- Hibernate Validation 6.0.x
- Alibaba Druid 1.2.x
视图层
- Vue 2.6.x
- Axios 0.21.x
- Element 2.15.x
项目展示
数据库设计
接口文档
代码展示
package com.cy.web.controller.front;import com.cy.common.core.controller.BaseController;
import com.cy.common.core.domain.AjaxResult;
import com.cy.common.core.page.TableDataInfo;
import com.cy.system.domain.BizAuctionItem;
import com.cy.system.domain.BizAuctionItemEvaluate;
import com.cy.system.service.IBizAuctionItemEvaluateService;
import com.cy.system.service.IBizAuctionItemService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;import java.util.List;/*** 竞拍商品Controller** @author c&y* @since 2024-12-22*/
@Api(tags = "竞拍商品前台接口")
@RestController
@RequestMapping("/front/bizFrontAuctionItem")
public class BizFrontAuctionItemController extends BaseController
{@Autowiredprivate IBizAuctionItemService bizAuctionItemService;@Autowiredprivate IBizAuctionItemEvaluateService bizAuctionItemEvaluatesService;/*** 查询竞拍商品列表*/@ApiOperation("查询竞拍商品列表")@GetMapping("/list")public TableDataInfo list(BizAuctionItem bizAuctionItem){startPage();List<BizAuctionItem> list = bizAuctionItemService.selectBizAuctionItemList(bizAuctionItem);return getDataTable(list);}/*** 获取竞拍商品详细信息*/@ApiOperation("获取竞拍商品详细信息")@GetMapping(value = "/{id}")public AjaxResult getInfo(@PathVariable("id") Long id){BizAuctionItem bizAuctionItem = bizAuctionItemService.selectBizAuctionItemById(id);BizAuctionItemEvaluate bizAuctionItemEvaluates = new BizAuctionItemEvaluate();bizAuctionItemEvaluates.setAuctionItemId(bizAuctionItem.getId());bizAuctionItem.setReviews(bizAuctionItemEvaluatesService.selectBizAuctionItemEvaluateList(bizAuctionItemEvaluates));return success(bizAuctionItem);}}
下载链接
编码不易,一杯奶茶的钱可以下载全部源码+文档资料!
下载链接:https://download.csdn.net/download/woshichenpi/90196234