zhijiezhao 3 gadi atpakaļ
vecāks
revīzija
9e6c880e9c

+ 2 - 2
src/main/java/com/caimei365/commodity/controller/CouponApi.java

@@ -54,7 +54,7 @@ public class CouponApi {
     @ApiOperation("活动页")
     @ApiImplicitParams({
             @ApiImplicitParam(required = true, name = "couponId", value = "优惠券id"),
-            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 网站 ; 2 小程序"),
+            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 小程序 ; 2 网站"),
             @ApiImplicitParam(required = true, name = "userId", value = "机构用户id"),
             @ApiImplicitParam(required = false, name = "pageNum", value = "页码"),
             @ApiImplicitParam(required = false, name = "pageSize", value = "每页数量")
@@ -130,7 +130,7 @@ public class CouponApi {
     @ApiOperation("商品详情相关优惠券")
     @ApiImplicitParams({
             @ApiImplicitParam(required = false, name = "userId", value = "机构用户id"),
-            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 网站 ; 2 小程序"),
+            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 小程序 ; 2 网站"),
             @ApiImplicitParam(required = true, name = "productId", value = "商品id"),
             @ApiImplicitParam(required = true, name = "status", value = "状态: 1未领取 2已领取")
     })

+ 1 - 1
src/main/java/com/caimei365/commodity/controller/ProductPriceApi.java

@@ -58,7 +58,7 @@ public class ProductPriceApi {
     @ApiImplicitParams({
             @ApiImplicitParam(required = true, name = "userId", value = "用户Id"),
             @ApiImplicitParam(required = true, name = "productIds", value = "商品Ids,逗号拼接"),
-            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 网站 ; 2 小程序")
+            @ApiImplicitParam(required = true, name = "source", value = "来源 : 1 小程序 ; 2 网站")
     })
     @GetMapping("/list")
     public ResponseJson<List<PriceVo>> getProductPrice(Integer userId, String productIds, Integer source) {

+ 1 - 1
src/main/java/com/caimei365/commodity/mapper/CouponMapper.java

@@ -40,7 +40,7 @@ public interface CouponMapper {
      * 查询优惠券对应商品
      *
      * @param couponId 优惠券id
-     * @param source   来源 : 1 网站 ; 2 小程序
+     * @param source   来源 : 1 小程序 ; 2 网站
      * @return
      */
     List<ProductItemVo> findCouponProduct(@Param("couponId") Integer couponId, @Param("source") Integer source, @Param("identity") Integer identity);

+ 1 - 1
src/main/java/com/caimei365/commodity/model/dto/CollarCouponsDto.java

@@ -19,6 +19,6 @@ public class CollarCouponsDto implements Serializable {
     @ApiModelProperty("机构用户id")
     private Integer userId;
 
-    @ApiModelProperty("来源 : 1 网站 ; 2 小程序")
+    @ApiModelProperty("来源 : 1 小程序 ; 2 网站")
     private Integer source;
 }

+ 1 - 1
src/main/java/com/caimei365/commodity/model/dto/RedeemCouponsDto.java

@@ -17,6 +17,6 @@ public class RedeemCouponsDto {
     @ApiModelProperty("兑换码")
     private String redemptionCode;
 
-    @ApiModelProperty("来源 : 1 网站 ; 2 小程序")
+    @ApiModelProperty("来源 : 1 小程序 ; 2 网站")
     private Integer source;
 }

+ 1 - 1
src/main/java/com/caimei365/commodity/service/PageService.java

@@ -162,7 +162,7 @@ public interface PageService {
      *
      * @param userId    机构用户id
      * @param productId 商品id
-     * @param source    来源 : 1 网站 ; 2 小程序
+     * @param source    来源 : 1 小程序 ; 2 网站
      * @return
      */
     Boolean setCouponsLogo(Integer userId, Integer productId, Integer source);

+ 1 - 1
src/main/java/com/caimei365/commodity/service/PriceService.java

@@ -27,7 +27,7 @@ public interface PriceService {
      *
      * @param userId     用户Id
      * @param productIds 商品Id
-     * @param source     来源 : 1 网站 ; 2 小程序
+     * @param source     来源 : 1 小程序 ; 2 网站
      * @return List<PriceVo>
      */
     ResponseJson<List<PriceVo>> getListPrice(Integer userId, String productIds, Integer source);

+ 1 - 1
src/main/java/com/caimei365/commodity/service/impl/CouponServiceImpl.java

@@ -88,7 +88,7 @@ public class CouponServiceImpl implements CouponService {
      *
      * @param couponId 活动券id
      * @param userId   机构用户id
-     * @param source   来源 : 1 网站 ; 2 小程序
+     * @param source   来源 : 1 小程序 ; 2 网站
      * @param pageNum  页码
      * @param pageSize 每页数量
      */

+ 1 - 1
src/main/resources/mapper/ShopMapper.xml

@@ -155,7 +155,7 @@
             shopID = #{shopId}, name = #{name}, aliasName = #{aliasName}, commodityType = #{commodityType},
             bigTypeId = #{bigTypeId}, smallTypeId = #{smallTypeId}, tinyTypeId = #{tinyTypeId}, mainImage = #{mainImage},
             brandId = #{brandId}, productType = #{productType}, tags = #{tags}, unit = #{unit}, normalPrice = #{normalPrice},
-            price = #{price}, price1 = #{price}, includedTax = #{includedTax}, minBuyNumber = #{minBuyNumber}, stock = #{stock},
+            price = #{price}, price = #{price}, includedTax = #{includedTax}, minBuyNumber = #{minBuyNumber}, stock = #{stock},
             <if test="productCategory != null and  productCategory != ''">
                 productCategory = #{productCategory},
             </if>