This commit is contained in:
suyl
2021-08-03 17:51:48 +08:00
parent 3dc511f26b
commit 1331f22052
2 changed files with 2 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ func (s *UnionHandler) GetUnionActList(ctx *jxcontext.Context, actType int) (act
Ratio: v.Ratio,
ActSrc: v.ActSrc,
Img: v.URL,
ActRule: v.ActRule,
}
if v.DateBound != "" {
act.DateBegin = utils.Str2Time(v.DateBound[:strings.LastIndex(v.DateBound, "至")-1])

View File

@@ -43,6 +43,7 @@ type ActivityList struct {
DateEnd time.Time `json:"dateEnd"`
ActSrc string `json:"actSrc"` //物料?
Img string `json:"img"` //活动图
ActRule string `json:"actRule"`
}
type GoodsDetail struct {