This commit is contained in:
苏尹岚
2021-04-15 15:44:24 +08:00
parent 4057f8105e
commit fb607a3c41
4 changed files with 33 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
package partner
import (
"time"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
)
@@ -14,7 +16,13 @@ const (
)
type ActivityList struct {
ActID int `json:"actID"`
ActID int `json:"actID"`
ActName string `json:"actName"`
ActDes string `json:"actDes"`
Ratio string `json:"ratio"` //返现比?
DateBegin time.Time `json:"dateBegin"`
DateEnd time.Time `json:"dateEnd"`
ActSrc string `json:"actSrc"` //物料?
}
func init() {
@@ -23,7 +31,7 @@ func init() {
type UnionInterface interface {
ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error)
GetUnionActList(ctx *jxcontext.Context, actType int) (result interface{}, err error)
GetUnionActList(ctx *jxcontext.Context, actType int) (result []*ActivityList, err error)
}
func GetHandler(vendorID int) UnionInterface {