上传支付系统代码

This commit is contained in:
liwei 2023-08-02 16:43:40 +08:00
parent c38b63a7c6
commit d44d6069a9
5 changed files with 20 additions and 2 deletions

View File

@ -622,6 +622,7 @@ type (
//购物中心 //购物中心
IShopcenter interface { IShopcenter interface {
IActivityNotice
IPayDelivery IPayDelivery
} }
) )

View File

@ -293,3 +293,8 @@ func (this *Pay) ActivityOpenNotice(hdlist *pb.DBHuodong) {
break break
} }
} }
// 活动关闭
func (this *Pay) ActivityCloseNotice(hdlist *pb.DBHuodong) {
}

View File

@ -24,7 +24,7 @@ func NewModule() core.IModule {
} }
func (this *ShopCenter) GetType() core.M_Modules { func (this *ShopCenter) GetType() core.M_Modules {
return comm.ModuleHeroTask return comm.ModuleShopCenter
} }
func (this *ShopCenter) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) { func (this *ShopCenter) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
@ -65,6 +65,11 @@ func (this *ShopCenter) ActivityNotice(hdlist *pb.DBHuodong) {
} }
} }
// 活动关闭
func (this *ShopCenter) ActivityCloseNotice(hdlist *pb.DBHuodong) {
}
// 发货 // 发货
func (this *ShopCenter) Delivery(session comm.IUserSession, pid string) (errdata *pb.ErrorData, items []*pb.UserAssets) { func (this *ShopCenter) Delivery(session comm.IUserSession, pid string) (errdata *pb.ErrorData, items []*pb.UserAssets) {
var ( var (

View File

@ -86,7 +86,7 @@ func (this *Warorder) Delivery(session comm.IUserSession, pid string) (errdata *
return return
} }
// 开启战令 // 活动开启
func (this *Warorder) ActivityOpenNotice(hdlist *pb.DBHuodong) { func (this *Warorder) ActivityOpenNotice(hdlist *pb.DBHuodong) {
switch hdlist.Itype { switch hdlist.Itype {
case comm.HdTypeWarorder: case comm.HdTypeWarorder:
@ -94,3 +94,8 @@ func (this *Warorder) ActivityOpenNotice(hdlist *pb.DBHuodong) {
break break
} }
} }
// 活动关闭
func (this *Warorder) ActivityCloseNotice(hdlist *pb.DBHuodong) {
}

View File

@ -48,6 +48,7 @@ import (
"go_dreamfactory/modules/reddot" "go_dreamfactory/modules/reddot"
"go_dreamfactory/modules/reputation" "go_dreamfactory/modules/reputation"
"go_dreamfactory/modules/shop" "go_dreamfactory/modules/shop"
"go_dreamfactory/modules/shopcenter"
"go_dreamfactory/modules/smithy" "go_dreamfactory/modules/smithy"
"go_dreamfactory/modules/sociaty" "go_dreamfactory/modules/sociaty"
"go_dreamfactory/modules/stonehenge" "go_dreamfactory/modules/stonehenge"
@ -146,6 +147,7 @@ func main() {
mainline.NewModule(), mainline.NewModule(),
kftask.NewModule(), kftask.NewModule(),
herotask.NewModule(), herotask.NewModule(),
shopcenter.NewModule(),
) )
} }