Browse Source

change 添加商铺的时候,商铺默认状态为禁用状态

microapp 2 years ago
parent
commit
c28b1238d4

+ 2 - 2
flash-waimai-core/src/main/java/cn/enilu/flash/bean/entity/front/Shop.java

@@ -89,9 +89,9 @@ public class Shop extends BaseMongoEntity {
      */
      */
     private String password;
     private String password;
     /**
     /**
-     * 是否停用,0/null:不禁用,1:禁用
+     * 是否停用,0/null:不禁用,1:禁用,默认禁用状态
      */
      */
-    private Integer disabled;
+    private Integer disabled=1;
     /**
     /**
      * 平台收取费率(百分比)
      * 平台收取费率(百分比)
      */
      */