this is 4.2 update

This commit is contained in:
chen-xin-zhi 2025-04-02 11:06:46 +08:00
parent c8d30330f6
commit 50897cd4f1
5 changed files with 7 additions and 17 deletions

View File

@ -201,6 +201,7 @@ public class GoodController {
good.setType("服务类");
good.setIsGoodType(0);
good.setInventory(1);
good.setLabel("");
good.setFestivalName("");
// 校验
goodService.validGood(good, false);
@ -791,6 +792,7 @@ public class GoodController {
good.setType("服务类");
good.setIsGoodType(0);
good.setInventory(1);
good.setLabel("");
good.setFestivalName("");
// 校验
goodService.validGood(good, true);

View File

@ -10,7 +10,7 @@ import java.math.BigDecimal;
import java.util.List;
@Data
@Schema(description = "服务类商品添加请求体", requiredProperties = {"name", "price", "goodImg", "intro", "richText", "label", "appointmentDateAddRequestList"})
@Schema(description = "服务类商品添加请求体", requiredProperties = {"name", "price", "goodImg", "intro", "richText", "appointmentDateAddRequestList"})
public class ServiceGoodAddRequest implements Serializable {
/**
@ -45,13 +45,6 @@ public class ServiceGoodAddRequest implements Serializable {
private String richText;
/**
* 商品标签
*/
@Schema(description = "商品标签", example = "亲情;送礼;材料包")
private String label;
/**
* 未来的预约详情
*/

View File

@ -10,7 +10,7 @@ import java.math.BigDecimal;
import java.util.List;
@Data
@Schema(description = "服务类商品更新请求体", requiredProperties = {"id", "name", "price", "goodImg", "intro", "label", "richText", "appointmentDateUpdateRequestList"})
@Schema(description = "服务类商品更新请求体", requiredProperties = {"id", "name", "price", "goodImg", "intro", "richText", "appointmentDateUpdateRequestList"})
public class ServiceGoodUpdateRequest implements Serializable {
/**
@ -49,12 +49,6 @@ public class ServiceGoodUpdateRequest implements Serializable {
@Schema(description = "商品详情(富文本)", example = "<p></p>")
private String richText;
/**
* 商品标签
*/
@Schema(description = "商品标签", example = "亲情;送礼;材料包")
private String label;
/**
* 未来几天的预约时间表

View File

@ -102,4 +102,5 @@ wx:
knife4j:
enable: false
enable: true
production: true

View File

@ -1,6 +1,6 @@
spring:
profiles:
active: dev
active: prod