activity

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardItemService

type CardItemService struct {
	dao.BaseDao
	Voucher VoucherService
}

func (CardItemService) AddOrdersGoodsCardItem

func (service CardItemService) AddOrdersGoodsCardItem(DB *gorm.DB, orders dao.Orders, OrdersGoodse []dao.OrdersGoods) error

func (CardItemService) AddScoreGoodsItem

func (service CardItemService) AddScoreGoodsItem(DB *gorm.DB, UserID, ScoreGoodsID uint64) error

添加Voucher

func (CardItemService) AddVoucherCardItem

func (service CardItemService) AddVoucherCardItem(DB *gorm.DB, OrderNo string, UserID, VoucherID uint64) error

添加Voucher

func (CardItemService) CancelOrdersGoodsCardItem

func (service CardItemService) CancelOrdersGoodsCardItem(DB *gorm.DB, UserID uint64, ogs []dao.OrdersGoods) error

func (CardItemService) FindByUserID

func (service CardItemService) FindByUserID(UserID uint64) []dao.CardItem

func (CardItemService) ListNewCount

func (service CardItemService) ListNewCount(UserID uint64) (TotalRecords int)

type CollageService

type CollageService struct {
	dao.BaseDao
}

func (CollageService) AddCollageRecord

func (service CollageService) AddCollageRecord(OrderNo, OrdersGoodsNo, No string, UserID uint64) error

func (CollageService) DeleteCollage

func (service CollageService) DeleteCollage(TimeSellID uint64) error

func (CollageService) FindCollageRecordByUserIDAndNo

func (service CollageService) FindCollageRecordByUserIDAndNo(UserID uint64, No string) dao.CollageRecord

func (CollageService) GetCollageByGoodsID

func (service CollageService) GetCollageByGoodsID(GoodsID uint64, OID uint64) dao.Collage

func (CollageService) GetCollageByHash

func (service CollageService) GetCollageByHash(Hash string, OID uint64) dao.Collage

func (CollageService) GetCollageGoodsByGoodsID

func (service CollageService) GetCollageGoodsByGoodsID(GoodsID uint64, OID uint64) dao.CollageGoods

func (CollageService) GetItemByHash

func (service CollageService) GetItemByHash(Hash string) dao.Collage

type FullCutService

type FullCutService struct {
	dao.BaseDao
}

func (FullCutService) FindOrderByAmountASC

func (service FullCutService) FindOrderByAmountASC(DB *gorm.DB, OID uint64) []dao.FullCut

func (FullCutService) FindOrderByAmountDesc

func (service FullCutService) FindOrderByAmountDesc(DB *gorm.DB, OID uint64) []dao.FullCut

type GiveVoucherService

type GiveVoucherService struct {
	dao.BaseDao
}

func (GiveVoucherService) AddItem

func (service GiveVoucherService) AddItem(item dao.GiveVoucher) error

func (GiveVoucherService) FindASC

func (service GiveVoucherService) FindASC() []dao.GiveVoucher

func (GiveVoucherService) FindDESC

func (service GiveVoucherService) FindDESC() []dao.GiveVoucher

func (GiveVoucherService) SaveItem

func (service GiveVoucherService) SaveItem(item dao.GiveVoucher) error

type RankService

type RankService struct {
	dao.BaseDao
}

func (RankService) AddRank

func (service RankService) AddRank(rank dao.Rank) error

func (RankService) FindDESC

func (service RankService) FindDESC() []dao.Rank

type ScoreGoodsService

type ScoreGoodsService struct {
	dao.BaseDao
	//User    user.UserService
	Journal  journal.JournalService
	CardItem CardItemService
}

func (ScoreGoodsService) Exchange

func (service ScoreGoodsService) Exchange(user *dao.User, ScoreGoodsID uint64) error

func (ScoreGoodsService) ListScoreGoods

func (service ScoreGoodsService) ListScoreGoods() []dao.ScoreGoods

func (ScoreGoodsService) Situation

func (service ScoreGoodsService) Situation(StartTime, EndTime int64) interface{}

type SettlementService

type SettlementService struct {
	dao.BaseDao
	Configuration configuration.ConfigurationService
	Journal       journal.JournalService
	GiveVoucher   GiveVoucherService
	CardItem      CardItemService
	Wx            wechat.WxService
	User          user.UserService
}

func (SettlementService) SettlementUser

func (service SettlementService) SettlementUser(Orm *gorm.DB, Brokerage uint64, orders dao.Orders) error

结算佣金,结算积分,结算成长值,是否送福利卷

type TimeSellService

type TimeSellService struct {
	dao.BaseDao
}

func (TimeSellService) DeleteTimeSell

func (service TimeSellService) DeleteTimeSell(TimeSellID uint64) error

func (TimeSellService) GetTimeSellByGoodsID

func (service TimeSellService) GetTimeSellByGoodsID(GoodsID uint64, OID uint64) *dao.TimeSell

todo:

func (TimeSellService) GetTimeSellByHash

func (service TimeSellService) GetTimeSellByHash(Hash string, OID uint64) dao.TimeSell

func (TimeSellService) GetTimeSellGoodsByGoodsID

func (service TimeSellService) GetTimeSellGoodsByGoodsID(GoodsID uint64, OID uint64) dao.TimeSellGoods

type VoucherService

type VoucherService struct {
	dao.BaseDao
}

func (VoucherService) Situation

func (service VoucherService) Situation(StartTime, EndTime int64) interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL