活动礼包
This commit is contained in:
parent
db2ca38d15
commit
6b093203f3
@ -465,6 +465,7 @@ type (
|
||||
ModulePayDelivery(session IUserSession, Productid string, Price int32) (errdata *pb.ErrorData)
|
||||
//开启活动
|
||||
OpenActivity(atype int32, opentime int64)
|
||||
IActivityNotice
|
||||
}
|
||||
//支付发货
|
||||
IPayDelivery interface {
|
||||
|
@ -60,6 +60,7 @@ func (this *Activity) Start() (err error) {
|
||||
if module, err = this.service.GetModule(comm.ModulePay); err == nil {
|
||||
if m, ok := module.(comm.IPay); ok {
|
||||
m.OpenActivity(1, rst.Stime)
|
||||
m.ActivityNotice(rst)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -275,3 +275,7 @@ func (this *Pay) ModulePayDelivery(session comm.IUserSession, Productid string,
|
||||
func (this *Pay) OpenActivity(atype int32, opentime int64) {
|
||||
this.modelActivity.setopentime(atype, opentime)
|
||||
}
|
||||
|
||||
func (this *Pay) ActivityNotice(hdlist *pb.DBHuodong) {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user