xh-pan1
1 year ago
31 changed files with 710 additions and 74 deletions
-
5cereshop-admin/src/main/java/com/shop/cereshop/admin/controller/CanvasController.java
-
29cereshop-admin/src/main/java/com/shop/cereshop/admin/page/permission/MenuButton.java
-
26cereshop-admin/src/main/java/com/shop/cereshop/admin/page/permission/Permission.java
-
7cereshop-admin/src/main/java/com/shop/cereshop/admin/param/permission/PermissionSaveParam.java
-
8cereshop-admin/src/main/java/com/shop/cereshop/admin/param/permission/PermissionUpdateParam.java
-
43cereshop-admin/src/main/java/com/shop/cereshop/admin/service/permission/impl/CerePlatformPermissionServiceImpl.java
-
28cereshop-admin/src/main/resources/mybatis/mapper/canvas/CerePlatformCanvasDAO.xml
-
26cereshop-admin/src/main/resources/mybatis/mapper/permission/CerePlatformPermissionDAO.xml
-
44cereshop-app/src/main/java/com/shop/cereshop/app/page/business/PlatformBusiness.java
-
24cereshop-app/src/main/java/com/shop/cereshop/app/page/shop/PlatformShop.java
-
11cereshop-app/src/main/java/com/shop/cereshop/app/pay/xs/service/XsPayService.java
-
63cereshop-app/src/main/java/com/shop/cereshop/app/pay/xs/service/impl/XsPayServiceImpl.java
-
5cereshop-app/src/main/java/com/shop/cereshop/app/service/business/CerePlatformBusinessService.java
-
59cereshop-app/src/main/java/com/shop/cereshop/app/service/business/impl/CerePlatformBusinessServiceImpl.java
-
29cereshop-app/src/main/java/com/shop/cereshop/app/service/shop/impl/CerePlatformShopServiceImpl.java
-
3cereshop-app/src/main/java/com/shop/cereshop/app/service/shop/impl/CereShopEnterpriseServiceImpl.java
-
4cereshop-app/src/main/java/com/shop/cereshop/app/service/shop/impl/CereShopIndividualBusinessesServiceImpl.java
-
2cereshop-app/src/main/java/com/shop/cereshop/app/service/shop/impl/CereShopOtherOrganizationsServiceImpl.java
-
1cereshop-app/src/main/java/com/shop/cereshop/app/service/shop/impl/CereShopPersonalServiceImpl.java
-
23cereshop-business/src/main/java/com/shop/cereshop/business/controller/CanvasController.java
-
2cereshop-business/src/main/java/com/shop/cereshop/business/dao/canvas/CerePlatformCanvasDAO.java
-
4cereshop-business/src/main/java/com/shop/cereshop/business/dao/product/CereProductMemberDAO.java
-
57cereshop-business/src/main/java/com/shop/cereshop/business/page/product/CanvasBusinessProductParam.java
-
115cereshop-business/src/main/java/com/shop/cereshop/business/page/product/MemberProduct.java
-
14cereshop-business/src/main/java/com/shop/cereshop/business/service/permission/impl/CerePlatformPermissionServiceImpl.java
-
5cereshop-business/src/main/java/com/shop/cereshop/business/service/product/CereProductMemberService.java
-
31cereshop-business/src/main/java/com/shop/cereshop/business/service/product/impl/CereProductMemberServiceImpl.java
-
33cereshop-business/src/main/resources/mybatis/mapper/canvas/CerePlatformCanvasDAO.xml
-
50cereshop-business/src/main/resources/mybatis/mapper/product/CereProductMemberDAO.xml
-
6cereshop-commons/src/main/java/com/shop/cereshop/commons/domain/canvas/CerePlatformCanvas.java
-
27cereshop-commons/src/main/java/com/shop/cereshop/commons/domain/permission/CerePlatformPermission.java
@ -0,0 +1,44 @@ |
|||
/* |
|||
* Copyright (C) 2017-2021 |
|||
* All rights reserved, Designed By 深圳中科鑫智科技有限公司 |
|||
* Copyright authorization contact 18814114118 |
|||
*/ |
|||
package com.shop.cereshop.app.page.business; |
|||
|
|||
import com.shop.cereshop.commons.domain.business.*; |
|||
import com.shop.cereshop.commons.domain.shop.CereShopReturn; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* 店铺信息返回数据实体类 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "Business", description = "商家信息返回数据实体类") |
|||
public class PlatformBusiness extends CerePlatformBusiness { |
|||
|
|||
/** |
|||
* 个人信息 |
|||
*/ |
|||
@ApiModelProperty(value = "个人信息") |
|||
private CereShopPersonal personal; |
|||
|
|||
/** |
|||
* 个体工商户信息 |
|||
*/ |
|||
@ApiModelProperty(value = "个体工商户信息") |
|||
private CereShopIndividualBusinesses individualBusinesses; |
|||
|
|||
/** |
|||
* 企业信息 |
|||
*/ |
|||
@ApiModelProperty(value = "企业信息") |
|||
private CereShopEnterprise enterprise; |
|||
|
|||
/** |
|||
* 其他组织信息 |
|||
*/ |
|||
@ApiModelProperty(value = "其他组织信息") |
|||
private CereShopOtherOrganizations otherOrganizations; |
|||
} |
@ -0,0 +1,57 @@ |
|||
/* |
|||
* Copyright (C) 2017-2021 |
|||
* All rights reserved, Designed By 深圳中科鑫智科技有限公司 |
|||
* Copyright authorization contact 18814114118 |
|||
*/ |
|||
package com.shop.cereshop.business.page.product; |
|||
|
|||
import com.shop.cereshop.commons.domain.common.PageParam; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 画布商品数据请求 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "CanvasAdminProductParam", description = "画布商品数据请求") |
|||
public class CanvasBusinessProductParam extends PageParam { |
|||
|
|||
/** |
|||
* 搜索字段 |
|||
*/ |
|||
@ApiModelProperty(value = "搜索字段") |
|||
private String search; |
|||
|
|||
/** |
|||
* 是否上架 1-上架 0-不上架 |
|||
*/ |
|||
@ApiModelProperty(value = "是否上架 1-上架 0-不上架") |
|||
private String shelveState; |
|||
|
|||
/** |
|||
* 分类id |
|||
*/ |
|||
@ApiModelProperty(value = "分类id") |
|||
private Long classifyId; |
|||
|
|||
/** |
|||
* 店铺id |
|||
*/ |
|||
@ApiModelProperty(value = "店铺id") |
|||
private Long shopId; |
|||
|
|||
/** |
|||
* 活动类型 1-拼团活动 2-秒杀活动 3-限时折扣活动 |
|||
*/ |
|||
@ApiModelProperty(value = "活动类型 1-拼团活动 2-秒杀活动 3-限时折扣活动") |
|||
private Integer type; |
|||
|
|||
/** |
|||
* 商品id数组 |
|||
*/ |
|||
@ApiModelProperty(value = "商品id数组") |
|||
private List<Long> ids; |
|||
} |
@ -0,0 +1,115 @@ |
|||
/* |
|||
* Copyright (C) 2017-2021 |
|||
* All rights reserved, Designed By 深圳中科鑫智科技有限公司 |
|||
* Copyright authorization contact 18814114118 |
|||
*/ |
|||
package com.shop.cereshop.business.page.product; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 画布会员商品数据 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "MemberProduct", description = "画布会员商品数据") |
|||
public class MemberProduct { |
|||
|
|||
/** |
|||
* 店铺id |
|||
*/ |
|||
@ApiModelProperty(value = "店铺id") |
|||
private Long shopId; |
|||
|
|||
/** |
|||
* 店铺名称 |
|||
*/ |
|||
@ApiModelProperty(value = "店铺名称") |
|||
private String shopName; |
|||
|
|||
/** |
|||
* 店铺LOGO |
|||
*/ |
|||
@ApiModelProperty(value = "店铺LOGO") |
|||
private String shopLogo; |
|||
|
|||
/** |
|||
* 产品ID |
|||
*/ |
|||
@ApiModelProperty(value = "产品ID") |
|||
private Long productId; |
|||
|
|||
/** |
|||
* 优惠方式 1-折扣 2-指定价格 |
|||
*/ |
|||
private Integer mode; |
|||
|
|||
/** |
|||
* 会员等级id |
|||
*/ |
|||
@ApiModelProperty(value = "会员等级id") |
|||
private Long memberLevelId; |
|||
|
|||
/** |
|||
* 会员等级名称 |
|||
*/ |
|||
@ApiModelProperty(value = "会员等级名称") |
|||
private String memberLevelName; |
|||
|
|||
/** |
|||
* 规格id |
|||
*/ |
|||
@ApiModelProperty(value = "规格id") |
|||
private Long skuId; |
|||
|
|||
/** |
|||
* 产品名称 |
|||
*/ |
|||
@ApiModelProperty(value = "产品名称") |
|||
private String productName; |
|||
|
|||
/** |
|||
* 产品主图 |
|||
*/ |
|||
@ApiModelProperty(value = "产品主图") |
|||
private String image; |
|||
|
|||
/** |
|||
* 商品原价 |
|||
*/ |
|||
@ApiModelProperty(value = "商品原价") |
|||
private BigDecimal originalPrice; |
|||
|
|||
/** |
|||
* 商品会员价元/折扣 |
|||
*/ |
|||
@ApiModelProperty(value = "商品会员价元/折扣") |
|||
private BigDecimal discount; |
|||
|
|||
/** |
|||
* 售价 |
|||
*/ |
|||
@ApiModelProperty(value = "售价") |
|||
private BigDecimal price; |
|||
|
|||
/** |
|||
* 库存 |
|||
*/ |
|||
@ApiModelProperty(value = "库存") |
|||
private Integer stockNumber; |
|||
|
|||
/** |
|||
* 销量 |
|||
*/ |
|||
@ApiModelProperty(value = "销量") |
|||
private Integer number; |
|||
|
|||
/** |
|||
* 付款人数 |
|||
*/ |
|||
@ApiModelProperty(value = "付款人数") |
|||
private Integer users; |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue