mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🐛 【视频号】修复微信小店主页管理API获取在店铺主页展示的商品分类接口的返回实体类的部分字段
This commit is contained in:
parent
f6b114d0ea
commit
27f1fcaec6
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user