aa
This commit is contained in:
@@ -46,6 +46,7 @@ func (s *UnionHandler) GetUnionActList(ctx *jxcontext.Context, actType int) (act
|
|||||||
Ratio: v.Ratio,
|
Ratio: v.Ratio,
|
||||||
ActSrc: v.ActSrc,
|
ActSrc: v.ActSrc,
|
||||||
Img: v.URL,
|
Img: v.URL,
|
||||||
|
ActRule: v.ActRule,
|
||||||
}
|
}
|
||||||
if v.DateBound != "" {
|
if v.DateBound != "" {
|
||||||
act.DateBegin = utils.Str2Time(v.DateBound[:strings.LastIndex(v.DateBound, "至")-1])
|
act.DateBegin = utils.Str2Time(v.DateBound[:strings.LastIndex(v.DateBound, "至")-1])
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ type ActivityList struct {
|
|||||||
DateEnd time.Time `json:"dateEnd"`
|
DateEnd time.Time `json:"dateEnd"`
|
||||||
ActSrc string `json:"actSrc"` //物料?
|
ActSrc string `json:"actSrc"` //物料?
|
||||||
Img string `json:"img"` //活动图
|
Img string `json:"img"` //活动图
|
||||||
|
ActRule string `json:"actRule"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GoodsDetail struct {
|
type GoodsDetail struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user