| @@ -57,7 +57,7 @@ public class TtGoodsCategoryServiceImpl implements TtGoodsCategoryService { | |||||
| keyList.add("appointment"); //预约信息 默认不可预约 | keyList.add("appointment"); //预约信息 默认不可预约 | ||||
| keyList.add("auto_renew"); //是否开启自动延期 默认不开启 | keyList.add("auto_renew"); //是否开启自动延期 默认不开启 | ||||
| // keyList.add("bring_out_meal"); //是否可以外带餐食 默认否 | // keyList.add("bring_out_meal"); //是否可以外带餐食 默认否 | ||||
| keyList.add("can_no_use_date");//不可使用日期 默认无 | |||||
| // keyList.add("can_no_use_date");//不可使用日期 默认无 | |||||
| keyList.add("customer_reserved_info");//留资规则 非必填 | keyList.add("customer_reserved_info");//留资规则 非必填 | ||||
| // keyList.add("description_rich_text");//其他说明信息 非必填 | // keyList.add("description_rich_text");//其他说明信息 非必填 | ||||
| // keyList.add("detail_image_list");//长图 非必填 | // keyList.add("detail_image_list");//长图 非必填 | ||||
| @@ -161,11 +161,11 @@ public class TtGoodsCategoryServiceImpl implements TtGoodsCategoryService { | |||||
| // attr.setValue("false"); | // attr.setValue("false"); | ||||
| // } | // } | ||||
| //不可使用日期 默认不开启 | //不可使用日期 默认不开启 | ||||
| else if("can_no_use_date".equals(attr.getKey())){ | |||||
| JSONObject jsonObject = new JSONObject(); | |||||
| jsonObject.put("enable",false); | |||||
| attr.setData(jsonObject.toJSONString()); | |||||
| } | |||||
| // else if("can_no_use_date".equals(attr.getKey())){ | |||||
| // JSONObject jsonObject = new JSONObject(); | |||||
| // jsonObject.put("enable",false); | |||||
| // attr.setData(jsonObject.toJSONString()); | |||||
| // } | |||||
| /** | /** | ||||
| * 留资规则 ---暂无 | * 留资规则 ---暂无 | ||||