商品模块代码提交

This commit is contained in:
Tankaikai
2025-02-18 15:17:45 +08:00
parent 78d7c32638
commit f8658d3386
3 changed files with 16 additions and 9 deletions

View File

@@ -104,7 +104,7 @@ public class ProductDTO implements Serializable {
/**
* 套餐内容
*/
private String groupSnap;
private Object groupSnap;
/**
* 库存警戒线
*/
@@ -222,4 +222,8 @@ public class ProductDTO implements Serializable {
public Object getSelectSpecInfo() {
return JSON.parseObject(Convert.toStr(selectSpecInfo, "{}"));
}
public Object getGroupSnap() {
return JSON.parseArray(Convert.toStr(groupSnap, "[]"));
}
}