🐛 【视频号】修复微信小店主页管理API获取在店铺主页展示的商品分类接口的返回实体类的部分字段

This commit is contained in:
罗勋 2024-12-18 03:19:46 +00:00 committed by Binary Wang
parent f6b114d0ea
commit 27f1fcaec6
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,7 @@ package me.chanjar.weixin.channel.bean.home.tree;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@ -17,7 +18,7 @@ import lombok.NoArgsConstructor;
public class LevelTreeInfo implements Serializable {
/** 一级分类 */
@JsonProperty("level1")
private OneLevelTreeNode level1;
@JsonProperty("level_1")
private List<OneLevelTreeNode> level1;
}

View File

@ -1,6 +1,7 @@
package me.chanjar.weixin.channel.bean.home.tree;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -18,7 +19,7 @@ import lombok.NoArgsConstructor;
public class OneLevelTreeNode extends CatTreeNode {
/** 二级分类 */
@JsonProperty("level2")
private CatTreeNode level2;
@JsonProperty("level_2")
private List<CatTreeNode> level2;
}