|
@@ -1,11 +1,17 @@
|
|
|
package com.fs.app.controller;
|
|
package com.fs.app.controller;
|
|
|
|
|
|
|
|
|
|
+import cn.hutool.json.JSONUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
+import com.fs.app.annotation.Login;
|
|
|
import com.fs.common.annotation.RepeatSubmit;
|
|
import com.fs.common.annotation.RepeatSubmit;
|
|
|
import com.fs.common.core.domain.R;
|
|
import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.domain.ResponseResult;
|
|
import com.fs.common.core.domain.ResponseResult;
|
|
|
import com.fs.common.utils.CloudHostUtils;
|
|
import com.fs.common.utils.CloudHostUtils;
|
|
|
|
|
+import com.fs.common.utils.ParseUtils;
|
|
|
|
|
+import com.fs.common.utils.StringUtils;
|
|
|
|
|
+import com.fs.company.domain.CompanyUser;
|
|
|
|
|
+import com.fs.company.service.ICompanyUserService;
|
|
|
import com.fs.course.config.CourseConfig;
|
|
import com.fs.course.config.CourseConfig;
|
|
|
import com.fs.course.domain.FsUserCourse;
|
|
import com.fs.course.domain.FsUserCourse;
|
|
|
import com.fs.course.param.FsCourseLinkCreateParam;
|
|
import com.fs.course.param.FsCourseLinkCreateParam;
|
|
@@ -24,10 +30,17 @@ import com.fs.course.vo.newfs.FsUserCourseVideoDetailsVO;
|
|
|
import com.fs.course.vo.newfs.FsUserCourseVideoPageListVO;
|
|
import com.fs.course.vo.newfs.FsUserCourseVideoPageListVO;
|
|
|
import com.fs.course.vo.newfs.FsUserVideoListVO;
|
|
import com.fs.course.vo.newfs.FsUserVideoListVO;
|
|
|
import com.fs.his.utils.ConfigUtil;
|
|
import com.fs.his.utils.ConfigUtil;
|
|
|
|
|
+import com.fs.hisStore.domain.*;
|
|
|
|
|
+import com.fs.hisStore.enums.OrderInfoEnum;
|
|
|
import com.fs.hisStore.enums.SysConfigEnum;
|
|
import com.fs.hisStore.enums.SysConfigEnum;
|
|
|
|
|
+import com.fs.hisStore.param.*;
|
|
|
|
|
+import com.fs.hisStore.service.*;
|
|
|
|
|
+import com.fs.hisStore.vo.*;
|
|
|
|
|
+import com.fs.qw.domain.QwExternalContact;
|
|
|
import com.fs.qw.domain.QwUser;
|
|
import com.fs.qw.domain.QwUser;
|
|
|
import com.fs.qw.service.IQwExternalContactService;
|
|
import com.fs.qw.service.IQwExternalContactService;
|
|
|
import com.fs.qw.service.IQwUserService;
|
|
import com.fs.qw.service.IQwUserService;
|
|
|
|
|
+import com.fs.store.config.StoreConfig;
|
|
|
import com.fs.system.service.ISysConfigService;
|
|
import com.fs.system.service.ISysConfigService;
|
|
|
import com.fs.voice.utils.StringUtil;
|
|
import com.fs.voice.utils.StringUtil;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
import com.github.pagehelper.PageHelper;
|
|
@@ -36,8 +49,15 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
|
|
+import java.util.Calendar;
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+import java.util.GregorianCalendar;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
@@ -63,6 +83,30 @@ public class FsUserCourseVideoController {
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ISysConfigService configService;
|
|
private ISysConfigService configService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductScrmService productService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private ICompanyUserService companyUserService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreOrderScrmService orderService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreCartScrmService cartService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductCategoryScrmService categoryService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreScrmService storeScrmService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductAttrScrmService attrService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductAttrValueScrmService attrValueService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductRelationScrmService productRelationService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreProductPurchaseLimitScrmService purchaseLimitService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsPrescribeScrmService prescribeService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreOrderItemScrmService itemService;
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("课程视频详情")
|
|
@ApiOperation("课程视频详情")
|
|
@@ -71,6 +115,245 @@ public class FsUserCourseVideoController {
|
|
|
return fsUserCourseVideoService.getVideoDetails(videoId);
|
|
return fsUserCourseVideoService.getVideoDetails(videoId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation("获取侧边栏商品列表")
|
|
|
|
|
+ @PostMapping("/getSalesProductsBySidebar")
|
|
|
|
|
+ public R getSalesProductsBySidebar(@RequestBody FsStoreOrderScrmSidebarVO param){
|
|
|
|
|
+ //
|
|
|
|
|
+ QwUser qwUser = qwExternalContactService.getQwUserByRedis(param.getCorpId().trim(),param.getQwUserId().trim());
|
|
|
|
|
+
|
|
|
|
|
+ if (qwUser == null || qwUser.getCompanyId() == null) {
|
|
|
|
|
+ return R.error("员工未绑定 销售公司 或 未获取到员工信息,请重试!");
|
|
|
|
|
+ }
|
|
|
|
|
+ String externalUserId = param.getExternalUserId();
|
|
|
|
|
+ QwExternalContact qwExternalContact = qwExternalContactService.selectQwExternalContactByExternalUserIdSidebar(externalUserId, param.getCorpId());
|
|
|
|
|
+
|
|
|
|
|
+ if(qwExternalContact == null || qwExternalContact.getFsUserId() == null){
|
|
|
|
|
+ return R.error("用户未绑定,暂时无法下单");
|
|
|
|
|
+ }
|
|
|
|
|
+ param.setCompanyId(qwUser.getCompanyId());
|
|
|
|
|
+
|
|
|
|
|
+ PageHelper.startPage(param.getPage(), param.getPageSize());
|
|
|
|
|
+ param.setIsDisplay(0);
|
|
|
|
|
+ List<FsStoreProductListQueryVO> productList = productService.selectFsStoreProductSidebarListQuery(param);
|
|
|
|
|
+ for (FsStoreProductListQueryVO fsStoreProductListQueryVO : productList) {
|
|
|
|
|
+ fsStoreProductListQueryVO.setCompanyId(qwUser.getCompanyId());
|
|
|
|
|
+ fsStoreProductListQueryVO.setCompanyUserId(qwUser.getCompanyUserId());
|
|
|
|
|
+ }
|
|
|
|
|
+ PageInfo<FsStoreProductListQueryVO> listPageInfo=new PageInfo<>(productList);
|
|
|
|
|
+ return R.ok().put("data",listPageInfo).put("qwUser",qwUser).put("extUser",qwExternalContact);
|
|
|
|
|
+ }
|
|
|
|
|
+ @ApiOperation("获取商品详情")
|
|
|
|
|
+ @GetMapping("/getProductDetails")
|
|
|
|
|
+ public R getProductDetails(@RequestParam(value="productId") Long productId,@RequestParam(value="storeId")String storeId,@RequestParam(value="userId") Long userId){
|
|
|
|
|
+ FsStoreProductQueryVO product=productService.selectFsStoreProductByIdQuery(productId, storeId);
|
|
|
|
|
+ if(product==null){
|
|
|
|
|
+ return R.error("商品不存在或已下架");
|
|
|
|
|
+ }
|
|
|
|
|
+ //增加店铺信息
|
|
|
|
|
+ FsStoreScrm fsStoreScrm = null;
|
|
|
|
|
+ if(StringUtils.isNotEmpty(product.getStoreId())){
|
|
|
|
|
+ fsStoreScrm = storeScrmService.selectFsStoreByStoreId(Long.parseLong(product.getStoreId()));
|
|
|
|
|
+ }
|
|
|
|
|
+ List<FsStoreProductAttrScrm> productAttr=attrService.selectFsStoreProductAttrByProductId(product.getProductId());
|
|
|
|
|
+ List<FsStoreProductAttrValueScrm> productValues=attrValueService.selectFsStoreProductAttrValueByProductId(product.getProductId());
|
|
|
|
|
+
|
|
|
|
|
+ //获取用户的TOKEN写入足迹
|
|
|
|
|
+ if(userId!=null){
|
|
|
|
|
+ FsStoreProductRelationScrm productRelation=new FsStoreProductRelationScrm();
|
|
|
|
|
+ productRelation.setIsDel(0);
|
|
|
|
|
+ productRelation.setUserId(userId);
|
|
|
|
|
+ productRelation.setProductId(product.getProductId());
|
|
|
|
|
+ productRelation.setType("foot");
|
|
|
|
|
+ List<FsStoreProductRelationScrm> productRelations=productRelationService.selectFsStoreProductRelationList(productRelation);
|
|
|
|
|
+ if(productRelations!=null&&productRelations.size()>0){
|
|
|
|
|
+ FsStoreProductRelationScrm relation=productRelations.get(0);
|
|
|
|
|
+ relation.setUpdateTime(new Date());
|
|
|
|
|
+ productRelationService.updateFsStoreProductRelation(relation);
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ FsStoreProductRelationScrm relation=new FsStoreProductRelationScrm();
|
|
|
|
|
+ relation.setUserId(userId);
|
|
|
|
|
+ relation.setIsDel(0);
|
|
|
|
|
+ relation.setProductId(product.getProductId());
|
|
|
|
|
+ relation.setUpdateTime(new Date());
|
|
|
|
|
+ relation.setType("foot");
|
|
|
|
|
+ relation.setCreateTime(new Date());
|
|
|
|
|
+ relation.setUpdateTime(new Date());
|
|
|
|
|
+ productRelationService.insertFsStoreProductRelation(relation);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询限购信息
|
|
|
|
|
+ Integer remainingPurchaseLimit = null; // 剩余可购买数量
|
|
|
|
|
+ Integer purchasedNum = 0; // 已购买数量
|
|
|
|
|
+ if (product.getPurchaseLimit() != null && product.getPurchaseLimit() > 0) {
|
|
|
|
|
+ // 商品有限购,查询用户是否购买过
|
|
|
|
|
+ if (userId != null) {
|
|
|
|
|
+ FsStoreProductPurchaseLimitScrm purchaseLimit = purchaseLimitService.selectByProductIdAndUserId(
|
|
|
|
|
+ product.getProductId(), userId);
|
|
|
|
|
+ if (purchaseLimit != null) {
|
|
|
|
|
+ purchasedNum = purchaseLimit.getNum();
|
|
|
|
|
+ }
|
|
|
|
|
+ // 计算剩余可购买数量
|
|
|
|
|
+ remainingPurchaseLimit = product.getPurchaseLimit() - purchasedNum;
|
|
|
|
|
+ if (remainingPurchaseLimit < 0) {
|
|
|
|
|
+ remainingPurchaseLimit = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 未登录用户,剩余可购买数量等于限购数量
|
|
|
|
|
+ remainingPurchaseLimit = product.getPurchaseLimit();
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return R.ok().put("product",product)
|
|
|
|
|
+ .put("productAttr",productAttr)
|
|
|
|
|
+ .put("productValues",productValues)
|
|
|
|
|
+ .put("store",fsStoreScrm)
|
|
|
|
|
+ .put("remainingPurchaseLimit", remainingPurchaseLimit) // 剩余可购买数量
|
|
|
|
|
+ .put("purchasedNum", purchasedNum); // 已购买数量
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("侧边栏制单")
|
|
|
|
|
+ @PostMapping("/createSalesOrderBySidebar")
|
|
|
|
|
+ public R createSalesOrderBySidebar(@RequestBody FsStoreOrderScrmSidebarVO param){
|
|
|
|
|
+ String cartIds = param.getCartIds();
|
|
|
|
|
+
|
|
|
|
|
+ CompanyUser companyUser=companyUserService.selectCompanyUserById(param.getCompanyUserId());
|
|
|
|
|
+ if(companyUser==null||companyUser.getDelFlag().equals("1")){
|
|
|
|
|
+ return R.error("用户不存在");
|
|
|
|
|
+ }
|
|
|
|
|
+ if(!companyUser.getStatus().equals("0")){
|
|
|
|
|
+ return R.error("用户已禁用");
|
|
|
|
|
+ }
|
|
|
|
|
+ return orderService.createSalesOrderBySidebar(companyUser,cartIds);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("获取我的订单详情")
|
|
|
|
|
+ @GetMapping("/getMyStoreOrderById")
|
|
|
|
|
+ public R getMyStoreOrderById(@RequestParam("orderId") Long orderId, HttpServletRequest request){
|
|
|
|
|
+ FsStoreOrderScrm order=orderService.selectFsStoreOrderById(orderId);
|
|
|
|
|
+ order.setUserPhone(ParseUtils.parsePhone(order.getUserPhone()));
|
|
|
|
|
+ order.setUserAddress(ParseUtils.parseIdCard(order.getUserAddress()));
|
|
|
|
|
+ List<FsStoreOrderItemVO> list=itemService.selectFsStoreOrderItemListByOrderId(orderId);
|
|
|
|
|
+ Calendar calendar = Calendar.getInstance();
|
|
|
|
|
+ calendar.setTime(order.getCreateTime());
|
|
|
|
|
+ String json=configService.selectConfigByKey("his.store");
|
|
|
|
|
+ StoreConfig config= JSONUtil.toBean(json,StoreConfig.class);
|
|
|
|
|
+ calendar.add(Calendar.MINUTE,config.getUnPayTime());
|
|
|
|
|
+ SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
+ String payLimitTime = format.format(calendar.getTime() );
|
|
|
|
|
+ FsPrescribeScrm prescribe=null;
|
|
|
|
|
+ if(order.getPrescribeId()!=null){
|
|
|
|
|
+ prescribe=prescribeService.selectFsPrescribeById(order.getPrescribeId());
|
|
|
|
|
+ }
|
|
|
|
|
+ //处理是否可以申请售后
|
|
|
|
|
+ Integer isAfterSales=0;
|
|
|
|
|
+ if(order.getStatus().equals(OrderInfoEnum.STATUS_3.getValue())) {
|
|
|
|
|
+ //已完成订单
|
|
|
|
|
+ isAfterSales=1;
|
|
|
|
|
+ if (order.getFinishTime() != null) {
|
|
|
|
|
+ if (config.getStoreAfterSalesDay() != null && config.getStoreAfterSalesDay() > 0) {
|
|
|
|
|
+ //判断完成时间是否超过指定时间
|
|
|
|
|
+ Calendar calendarAfterSales = new GregorianCalendar();
|
|
|
|
|
+ calendarAfterSales.setTime(order.getFinishTime());
|
|
|
|
|
+ calendarAfterSales.add(calendarAfterSales.DATE, config.getStoreAfterSalesDay()); //把日期往后增加一天,整数 往后推,负数往前移动
|
|
|
|
|
+ if (calendarAfterSales.getTime().getTime() < new Date().getTime()) {
|
|
|
|
|
+ isAfterSales = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ else if(order.getStatus()==1||order.getStatus()==2){
|
|
|
|
|
+ isAfterSales=1;
|
|
|
|
|
+ }
|
|
|
|
|
+ return R.ok().put("isAfterSales",isAfterSales).put("order",order).put("items",list).put("payLimitTime",payLimitTime).put("prescribe",prescribe);
|
|
|
|
|
+ }
|
|
|
|
|
+ @ApiOperation("创建订单 侧边栏")
|
|
|
|
|
+ @PostMapping("/createBySidebar")
|
|
|
|
|
+ public R createBySidebar(@Validated @RequestBody FsStoreOrderScrmSidebarVO param){
|
|
|
|
|
+ log.info("开始创建订单,客户id:{}", param.getUserId());
|
|
|
|
|
+ return orderService.createOrderBySidebar(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("获取制单信息 侧边栏")
|
|
|
|
|
+ @GetMapping("/getOrderInfoBySidebar")
|
|
|
|
|
+ public R getOrderInfoBySidebar(@RequestParam("orderKey") String orderKey,@RequestParam("userId")Long userId){
|
|
|
|
|
+ return orderService.getOrderInfoBySidebar(orderKey,userId);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("改订单价格 侧边栏")
|
|
|
|
|
+ @PostMapping("/editOrderMoneyBySidebar")
|
|
|
|
|
+ @Transactional
|
|
|
|
|
+ public R editOrderMoneyBySidebar(@RequestBody FsStoreOrderScrmSidebarVO param){
|
|
|
|
|
+ return orderService.editOrderMoneyBySidebar(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("获取客户订单列表 侧边栏")
|
|
|
|
|
+ @GetMapping("/getStoreOrderListBySidebar")
|
|
|
|
|
+ public R getStoreOrderListBySidebar(FsStoreOrderScrmSidebarVO param){
|
|
|
|
|
+
|
|
|
|
|
+ String externalUserId = param.getExternalUserId();
|
|
|
|
|
+ QwExternalContact qwExternalContact = qwExternalContactService.selectQwExternalContactByExternalUserIdSidebar(externalUserId, param.getCorpId());
|
|
|
|
|
+
|
|
|
|
|
+ if(qwExternalContact == null || qwExternalContact.getFsUserId() == null){
|
|
|
|
|
+ return R.error("用户未绑定,无法查询订单");
|
|
|
|
|
+ }
|
|
|
|
|
+ PageHelper.startPage(param.getPage(), param.getPageSize());
|
|
|
|
|
+
|
|
|
|
|
+ param.setUserId(qwExternalContact.getFsUserId());
|
|
|
|
|
+ param.setCompanyUserId(param.getCompanyUserId());
|
|
|
|
|
+
|
|
|
|
|
+ List<FsMyStoreOrderListQueryVO> list=orderService.selectFsStoreOrderListBySidebarVO(param);
|
|
|
|
|
+ PageInfo<FsMyStoreOrderListQueryVO> listPageInfo=new PageInfo<>(list);
|
|
|
|
|
+ return R.ok().put("data",listPageInfo);
|
|
|
|
|
+ }
|
|
|
|
|
+ @ApiOperation("获取分类 侧边栏")
|
|
|
|
|
+ @GetMapping("/getProductCateBySidebar")
|
|
|
|
|
+ public R getProductCateBySidebar(@RequestParam(value="pid") Long pid, @RequestParam(value="storeId",required = false) Long storeId){
|
|
|
|
|
+ try {
|
|
|
|
|
+ FsStoreProductCategoryScrm param=new FsStoreProductCategoryScrm();
|
|
|
|
|
+ param.setIsShow(1);
|
|
|
|
|
+ param.setIsDel(0);
|
|
|
|
|
+ param.setPid(pid);
|
|
|
|
|
+ param.setStoreId(storeId);
|
|
|
|
|
+ List<FsStoreProductCategoryScrm> list=categoryService.selectFsStoreProductCategoryListQueryBySidebar(param);
|
|
|
|
|
+ return R.ok().put("data",list);
|
|
|
|
|
+ } catch (Exception e){
|
|
|
|
|
+ return R.error("操作异常");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("添加购物车 侧边栏")
|
|
|
|
|
+ @PostMapping("/addCartBySidebar")
|
|
|
|
|
+ public R addCartBySidebar(@Validated @RequestBody FsStoreCartParam cartParam){
|
|
|
|
|
+ return cartService.addCartBySidebar(cartParam.getUserId(),cartParam);
|
|
|
|
|
+ }
|
|
|
|
|
+ @ApiOperation("获取购物车列表 侧边栏")
|
|
|
|
|
+ @GetMapping("/getCartsBySidebar")
|
|
|
|
|
+ public R getCartsBySidebar(@RequestParam("userId") Long userId){
|
|
|
|
|
+ List<FsStoreCartVO> carts= cartService.selectFsStoreCartListByUid(userId);
|
|
|
|
|
+ return R.ok().put("carts",carts);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("计算购物车商品总价 侧边栏")
|
|
|
|
|
+ @GetMapping("/getCartsTotalBySidebar")
|
|
|
|
|
+ public R getCartsTotalBySidebar(@RequestParam("cartIds") String cartIds){
|
|
|
|
|
+ return cartService.selectFsStoreCartTotalByCarts(cartIds);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("改变购物车数量 侧边栏")
|
|
|
|
|
+ @PostMapping("/cartNumBySidebar")
|
|
|
|
|
+ public R cartNumBySidebar(@Validated @RequestBody FsStoreCartNumParam cartParam){
|
|
|
|
|
+ return cartService.changeNum(cartParam.getUserId(),cartParam);
|
|
|
|
|
+ }
|
|
|
|
|
+ @ApiOperation("删除购物车 侧边栏")
|
|
|
|
|
+ @PostMapping("/delCartBySidebar")
|
|
|
|
|
+ public R delCartBySidebar(@Validated @RequestBody FsStoreCartDelParam cartParam){
|
|
|
|
|
+ return cartService.delCart(cartParam.getUserId(),cartParam);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
@PostMapping("/getFsCourseListBySidebar")
|
|
@PostMapping("/getFsCourseListBySidebar")
|
|
|
@ApiOperation("获取视频课程下拉列表 侧边栏")
|
|
@ApiOperation("获取视频课程下拉列表 侧边栏")
|
|
|
public R getFsCourseListBySidebar(@RequestBody FsCourseListBySidebarParam param) {
|
|
public R getFsCourseListBySidebar(@RequestBody FsCourseListBySidebarParam param) {
|