店铺扩展信息 初始化数据
This commit is contained in:
parent
41ee71b594
commit
73030b7d91
|
|
@ -25,6 +25,7 @@ public class TbShopExtend extends Model<TbShopExtend> {
|
||||||
private String autokey;
|
private String autokey;
|
||||||
//值
|
//值
|
||||||
private String value;
|
private String value;
|
||||||
|
private String detail;
|
||||||
//更新时间
|
//更新时间
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
|
@ -96,6 +97,14 @@ public class TbShopExtend extends Model<TbShopExtend> {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getDetail() {
|
||||||
|
return detail;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDetail(String detail) {
|
||||||
|
this.detail = detail;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* index_bg:店铺首页背景图
|
* index_bg:店铺首页背景图
|
||||||
* my_bg: 我的页面背景图
|
* my_bg: 我的页面背景图
|
||||||
|
|
@ -108,15 +117,19 @@ public class TbShopExtend extends Model<TbShopExtend> {
|
||||||
switch (autokey) {
|
switch (autokey) {
|
||||||
case "index_bg":
|
case "index_bg":
|
||||||
this.name = "店铺首页背景图";
|
this.name = "店铺首页背景图";
|
||||||
|
this.detail="建议尺寸: 375*600 ";
|
||||||
break;
|
break;
|
||||||
case "my_bg":
|
case "my_bg":
|
||||||
this.name = "我的页面背景图";
|
this.name = "我的页面背景图";
|
||||||
|
this.detail="建议尺寸: 375*200";
|
||||||
break;
|
break;
|
||||||
case "member_bg":
|
case "member_bg":
|
||||||
this.name = "会员卡页面背景图";
|
this.name = "会员卡页面背景图";
|
||||||
|
this.detail="建议尺寸: 315*152";
|
||||||
break;
|
break;
|
||||||
case "shopinfo_bg":
|
case "shopinfo_bg":
|
||||||
this.name = "商品列表顶部背景图";
|
this.name = "商品列表顶部背景图";
|
||||||
|
this.detail="建议尺寸: 375*120";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue