|
|
@@ -864,6 +864,7 @@ type THJProduct struct {
|
|
|
WRSTANDARDNAME string `json:"wrstandardname" xorm:"WRSTANDARDNAME"` // 现货商品名称
|
|
|
BANNERPICURL string `json:"bannerpicurl" xorm:"BANNERPICURL"` // Banner图(逗号分隔)
|
|
|
PICTUREURLS string `json:"pictureurls" xorm:"PICTUREURLS"` // 详情图片(逗号分隔)
|
|
|
+ THUMURLS string `json:"thumurls" xorm:"THUMURLS"` // 缩略图片(1:1)(逗号分隔)
|
|
|
|
|
|
UserID int `json:"-" xorm:"-" form:"userid" binding:"required"` // 用户ID
|
|
|
FavoriteFlag bool `json:"-" xorm:"-" form:"favoriteflag"` // 关注标志 true-已关注 false-未关注
|
|
|
@@ -881,7 +882,8 @@ func (r *THJProduct) buildSql() string {
|
|
|
to_char(t.WRSTANDARDID) WRSTANDARDID,
|
|
|
t.WRSTANDARDNAME,
|
|
|
t.BANNERPICURL,
|
|
|
- t.PICTUREURLS
|
|
|
+ t.PICTUREURLS,
|
|
|
+ t.THUMURLS
|
|
|
from wrstandard t
|
|
|
where t.IsValid = 1
|
|
|
and t.wrstandardid
|