作者主页:编程指南针
简介:Java领域优质创作者、CSDN博客专家 Java项目、简历模板、学习资料、面试题库、技术互助
文末获取源码
项目编号:BS-XCX-002
运行环境
jdk8+tomcat8+mysql5.7以上+eclipse+maven
项目技术(必填)
spring+spring mvc+mybatis+dubbo+zookeeper+redis
项目说明:
本项目实现了一个微信小程序商城系统,后台主要基于SSM框架开发,前端使用微信小程序开发实现,实现了一个商城系统的基本功能。
后台功能实现主要包含:
- 商品管理
- 订单管理
- 图片管理
- 评论管理
- 用户管理
- 地址管理
- 系统管理
前端小程序主要实现了:
- 商品浏览
- 信息查询
- 添加购物车
- 在线下单购买
- 收货地址管理
- 订单信息查询
下面展示一个前后台系统:
后台管理系统:
登陆系统
编辑
商品管理
编辑
订单管理
编辑
编辑
图片管理
编辑
评论管理
编辑
用户管理
编辑
地址管理
编辑
系统管理
编辑
编辑
编辑
前端小程序展示:
首页
编辑
详情展示
编辑
添加购物车
编辑
确认订单
编辑
分类查看
编辑
我的订单
编辑
系统部分核心代码:
package com.yun.smart.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.baomidou.mybatisplus.plugins.Page; import com.yun.smart.builder.JsonResultBuilder; import com.yun.smart.consts.SessionConsts; import com.yun.smart.enums.BussinessType; import com.yun.smart.log.BussinessLogger; import com.yun.smart.log.BussinessLoggerPool; import com.yun.smart.model.OrderComment; import com.yun.smart.param.OrderCommentAddParams; import com.yun.smart.param.OrderCommentDeleteParams; import com.yun.smart.param.OrderCommentResponseParams; import com.yun.smart.param.OrderCommentSearchParams; import com.yun.smart.param.OrderCommentUpdateParams; import com.yun.smart.result.JsonResult; import com.yun.smart.service.OrderCommentService; import com.yun.smart.utils.AssertUtil; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; /** * Controller - 评论 * @author znz * @version 0.0.1 * */ @RestController @RequestMapping("/smart/orderComment") @Api(value = "评论接口") public class OrderCommentController extends BaseController { private BussinessLogger logger = BussinessLoggerPool.getLogger(this.getClass(), BussinessType.ORDERCOMMENT); @Resource private OrderCommentService orderCommentService; @RequestMapping(value="/pc/v1/searchPage",method=RequestMethod.POST) @ApiOperation(value = "分页查询订单评论", notes = "分页查询订单评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchPage(OrderCommentSearchParams params){ logger.info("OrderCommentController-分页查询订单评论入参:{}",params); AssertUtil.notNull(params, "参数为空"); Page<Map<String,Object>> result = orderCommentService.searchPage(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/searchList",method=RequestMethod.POST) @ApiOperation(value = "查询评论列表", notes = "查询评论列表") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchList(OrderCommentSearchParams params){ logger.info("OrderCommentController-查询列表入参:{}",params); List<OrderComment> result = orderCommentService.searchList(params); return JsonResultBuilder.ok(result); } @RequestMapping(value={"/pc/v1/searchDetail","/app/v1/searchDetail"},method=RequestMethod.POST) @ApiOperation(value = "查询评论详情", notes = "查询评论详情") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchDetail(OrderCommentSearchParams params){ logger.info("OrderCommentController-查询详情入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getOrderNo(), "订单编号为空"); OrderComment result = orderCommentService.searchDetail(params); return JsonResultBuilder.ok(result); } @RequestMapping(value={"/pc/v1/add","/app/v1/add"},method=RequestMethod.POST) @ApiOperation(value = "新建评论", notes = "新建评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult add(OrderCommentAddParams params){ logger.info("OrderCommentController-新建入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getOrderNo(), "订单编号为空"); AssertUtil.notNull(params.getGoodsStar(), "评分等级为空"); AssertUtil.notNull(params.getContent(), "内容为空"); orderCommentService.add(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/update",method=RequestMethod.POST) @ApiOperation(value = "更新评论", notes = "更新评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult update(OrderCommentUpdateParams params){ logger.info("OrderCommentController-更新入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getId(), "评论ID为空"); orderCommentService.update(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/delete",method=RequestMethod.POST) @ApiOperation(value = "删除评论", notes = "删除评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult delete(OrderCommentDeleteParams params){ logger.info("OrderCommentController-删除入参:{}",params); orderCommentService.delete(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/deleteByIds",method=RequestMethod.POST) @ApiOperation(value = "批量删除评论", notes = "批量删除评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult deleteByIds(OrderCommentDeleteParams params){ logger.info("OrderCommentController-批量删除入参:{}",Arrays.toString(params.getIds())); orderCommentService.deleteByIds(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/searchInfo",method=RequestMethod.POST) @ApiOperation(value = "查询评论详情", notes = "查询评论详情") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchInfo(OrderCommentSearchParams params){ logger.info("OrderCommentController-查询详情入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getId(), "评论ID为空"); Map<String,Object> result = orderCommentService.searchInfo(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/batchResponse",method=RequestMethod.POST) @ApiOperation(value = "批量回复评论", notes = "批量回复评论") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult batchResponse(OrderCommentResponseParams params){ logger.info("OrderCommentController-批量回复评论入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getIds(), "评论ID为空"); AssertUtil.notNull(params.getResponseContent(), "回复内容为空"); orderCommentService.batchResponse(params); return JsonResultBuilder.ok(); } }
package com.yun.smart.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.baomidou.mybatisplus.plugins.Page; import com.yun.smart.builder.JsonResultBuilder; import com.yun.smart.consts.SessionConsts; import com.yun.smart.result.JsonResult; import com.yun.smart.controller.BaseController; import com.yun.smart.enums.BussinessType; import com.yun.smart.log.BussinessLogger; import com.yun.smart.log.BussinessLoggerPool; import com.yun.smart.model.OrderInfo; import com.yun.smart.param.OrderInfoAddParams; import com.yun.smart.param.OrderInfoDeleteParams; import com.yun.smart.param.OrderInfoSearchParams; import com.yun.smart.param.OrderInfoSubmitParams; import com.yun.smart.param.OrderInfoUpdateParams; import com.yun.smart.service.OrderInfoService; import com.yun.smart.utils.AssertUtil; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; /** * Controller - 订单 * @author znz * @version 0.0.1 * */ @RestController @RequestMapping("/smart/orderInfo") @Api(value = "订单接口") public class OrderInfoController extends BaseController { private BussinessLogger logger = BussinessLoggerPool.getLogger(this.getClass(), BussinessType.ORDERINFO); @Resource private OrderInfoService orderInfoService; @RequestMapping(value="/pc/v1/searchPage",method=RequestMethod.POST) @ApiOperation(value = "分页查询订单", notes = "分页查询所有订单") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchPage(OrderInfoSearchParams params){ logger.info("OrderInfoController-分页查询入参:{}",params); Page<Map<String,Object>> result = orderInfoService.searchPage(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/searchList",method=RequestMethod.POST) @ApiOperation(value = "查询订单列表", notes = "查询订单列表") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchList(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询列表入参:{}",params); List<OrderInfo> result = orderInfoService.searchList(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/searchDetail",method=RequestMethod.POST) @ApiOperation(value = "查询订单详情", notes = "查询订单详情") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchDetail(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询详情入参:{}",params); OrderInfo result = orderInfoService.searchDetail(params); return JsonResultBuilder.ok(result); } @RequestMapping(value={"/pc/v1/update","/app/v1/update"},method=RequestMethod.POST) @ApiOperation(value = "更新订单", notes = "更新订单") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult update(OrderInfoUpdateParams params){ logger.info("OrderInfoController-更新入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getId(), "订单ID为空"); AssertUtil.notNull(params.getOrderStatus(), "订单状态为空"); orderInfoService.update(params); return JsonResultBuilder.ok(); } @RequestMapping(value={"/pc/v1/delete","/app/v1/delete"},method=RequestMethod.POST) @ApiOperation(value = "删除订单", notes = "删除订单") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult delete(OrderInfoDeleteParams params){ logger.info("OrderInfoController-删除入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getId(), "订单ID为空"); orderInfoService.delete(params); return JsonResultBuilder.ok(); } @RequestMapping(value={"/pc/v1/deleteByIds","/app/v1/deleteByIds"},method=RequestMethod.POST) @ApiOperation(value = "批量删除订单", notes = "批量删除订单") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult deleteByIds(OrderInfoDeleteParams params){ logger.info("OrderInfoController-批量删除入参:{}",Arrays.toString(params.getIds())); orderInfoService.deleteByIds(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/app/v1/addOne",method=RequestMethod.POST) @ApiOperation(value = "添加产品到购物车", notes = "添加产品到购物车") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult addOne(OrderInfoAddParams params){ logger.info("OrderInfoController-添加产品到购物车入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getGoodsNo(), "商品编号为空"); AssertUtil.notNull(params.getGoodsNum(), "商品数量为空"); orderInfoService.addOne(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/app/v1/removeOne",method=RequestMethod.POST) @ApiOperation(value = "从购物车移除产品", notes = "从购物车移除产品") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult removeOne(OrderInfoAddParams params){ logger.info("OrderInfoController-从购物车移除产品入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getOrderNo(), "订单编号为空"); orderInfoService.removeOne(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/app/v1/submit",method=RequestMethod.POST) @ApiOperation(value = "批量提交购物车订单", notes = "批量提交购物车订单") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult submit(@RequestBody OrderInfoSubmitParams params){ logger.info("OrderInfoController-批量提交购物车订单入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getAddrId(), "收货地址为空"); AssertUtil.notNull(params.getOrderInfos(), "订单数据为空"); orderInfoService.submit(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/app/v1/buyNow",method=RequestMethod.POST) @ApiOperation(value = "立即购买", notes = "立即购买") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult buyNow(OrderInfoAddParams params){ logger.info("OrderInfoController-立即购买入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getGoodsNo(), "产品编号为空"); AssertUtil.notNull(params.getGoodsNum(), "产品数量为空"); OrderInfo orderInfo = orderInfoService.buyNow(params); return JsonResultBuilder.ok(orderInfo); } @RequestMapping(value={"/pc/v1/searchInfo","/app/v1/searchInfo"},method=RequestMethod.POST) @ApiOperation(value = "查询订单详情", notes = "查询订单详情") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchInfo(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询详情入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getOrderNo(), "订单编号为空"); Map<String,Object> result = orderInfoService.searchInfo(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/app/v1/searchList",method=RequestMethod.POST) @ApiOperation(value = "查询个人订单列表", notes = "查询个人订单列表") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchListApp(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询列表入参:{}",params); AssertUtil.notNull(params, "参数为空"); List<Map<String,Object>> result = orderInfoService.searchListApp(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/app/v1/searchSubmit",method=RequestMethod.POST) @ApiOperation(value = "查询已提交待付款的订单列表", notes = "查询已提交待付款的订单列表") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchSubmit(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询已提交待付款的订单列表入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getOrderNos(), "订单编号为空"); List<Map<String,Object>> result = orderInfoService.searchSubmit(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/app/v1/searchTotal",method=RequestMethod.POST) @ApiOperation(value = "查询个人订单状态统计数量", notes = "查询个人订单状态统计数量") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchTotal(OrderInfoSearchParams params){ logger.info("OrderInfoController-查询个人订单状态统计数量入参:{}",params); Map<String,Object> result = orderInfoService.searchTotal(params); return JsonResultBuilder.ok(result); } }
package com.yun.smart.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.baomidou.mybatisplus.plugins.Page; import com.yun.smart.builder.JsonResultBuilder; import com.yun.smart.consts.SessionConsts; import com.yun.smart.result.JsonResult; import com.yun.smart.controller.BaseController; import com.yun.smart.enums.BussinessType; import com.yun.smart.log.BussinessLogger; import com.yun.smart.log.BussinessLoggerPool; import com.yun.smart.model.OrderNotice; import com.yun.smart.param.OrderNoticeAddParams; import com.yun.smart.param.OrderNoticeDeleteParams; import com.yun.smart.param.OrderNoticeSearchParams; import com.yun.smart.param.OrderNoticeUpdateParams; import com.yun.smart.service.OrderNoticeService; import com.yun.smart.utils.AssertUtil; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; /** * Controller - 消息 * @author znz * @version 0.0.1 * */ @RestController @RequestMapping("/smart/orderNotice") @Api(value = "消息接口") public class OrderNoticeController extends BaseController { private BussinessLogger logger = BussinessLoggerPool.getLogger(this.getClass(), BussinessType.ORDERNOTICE); @Resource private OrderNoticeService orderNoticeService; @RequestMapping(value="/pc/v1/searchPage",method=RequestMethod.POST) @ApiOperation(value = "分页查询消息", notes = "分页查询消息") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchPage(OrderNoticeSearchParams params){ logger.info("OrderNoticeController-分页查询入参:{}",params); Page<Map<String,Object>> result = orderNoticeService.searchPage(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/searchList",method=RequestMethod.POST) @ApiOperation(value = "查询消息列表", notes = "查询消息列表") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchList(OrderNoticeSearchParams params){ logger.info("OrderNoticeController-查询列表入参:{}",params); List<OrderNotice> result = orderNoticeService.searchList(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/searchDetail",method=RequestMethod.POST) @ApiOperation(value = "查询消息详情", notes = "查询消息详情") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult searchDetail(OrderNoticeSearchParams params){ logger.info("OrderNoticeController-查询详情入参:{}",params); OrderNotice result = orderNoticeService.searchDetail(params); return JsonResultBuilder.ok(result); } @RequestMapping(value="/pc/v1/add",method=RequestMethod.POST) @ApiOperation(value = "新建消息", notes = "新建消息") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult add(OrderNoticeAddParams params){ logger.info("OrderNoticeController-新建入参:{}",params); orderNoticeService.add(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/update",method=RequestMethod.POST) @ApiOperation(value = "更新消息", notes = "更新消息") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult update(OrderNoticeUpdateParams params){ logger.info("OrderNoticeController-更新入参:{}",params); orderNoticeService.update(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/delete",method=RequestMethod.POST) @ApiOperation(value = "删除消息", notes = "删除消息") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult delete(OrderNoticeDeleteParams params){ logger.info("OrderNoticeController-删除入参:{}",params); orderNoticeService.delete(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/deleteByIds",method=RequestMethod.POST) @ApiOperation(value = "批量删除消息", notes = "批量删除消息") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult deleteByIds(OrderNoticeDeleteParams params){ logger.info("OrderNoticeController-批量删除入参:{}",Arrays.toString(params.getIds())); orderNoticeService.deleteByIds(params); return JsonResultBuilder.ok(); } @RequestMapping(value="/pc/v1/changeNoticeStatus",method=RequestMethod.POST) @ApiOperation(value = "设置消息已读", notes = "设置消息已读") @ApiImplicitParams({ @ApiImplicitParam(name = SessionConsts.AUTH_TOKEN_NAME, value = "token", paramType = "header", dataType = "string") }) public JsonResult changeNoticeStatus(OrderNoticeUpdateParams params){ logger.info("OrderNoticeController-设置消息已读入参:{}",params); AssertUtil.notNull(params, "参数为空"); AssertUtil.notNull(params.getId(), "消息ID为空"); orderNoticeService.changeNoticeStatus(params); return JsonResultBuilder.ok(); } }