user

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService struct {
	dao.BaseDao
	Configuration configuration.ConfigurationService
	//GiveVoucher   activity.GiveVoucherService
	//CardItem      activity.CardItemService
	Organization company.OrganizationService
	//Wx           wechat.WxService
	//Goods        goods.GoodsService
	//Orders       order.OrdersService
	Journal journal.JournalService
}

func (UserService) AddUserBlockAmount

func (service UserService) AddUserBlockAmount(Orm *gorm.DB, UserID uint64, Menoy int64) error

func (UserService) AddUserByOpenID

func (service UserService) AddUserByOpenID(Orm *gorm.DB, OpenID string) *dao.User

func (UserService) FindUserByIDs

func (service UserService) FindUserByIDs(IDs []uint64) []dao.User

func (UserService) FindUserByOpenID

func (service UserService) FindUserByOpenID(Orm *gorm.DB, OpenID string) *dao.User

func (UserService) FindUserByTel

func (service UserService) FindUserByTel(Orm *gorm.DB, Tel string) *dao.User

func (UserService) GetFromIDs

func (service UserService) GetFromIDs(UserID uint64) dao.UserFormIds

func (UserService) GetUserInfo

func (service UserService) GetUserInfo(UserID uint64) dao.UserInfo

func (UserService) Leve1

func (service UserService) Leve1(UserID uint64) []uint64

func (UserService) Leve2

func (service UserService) Leve2(Leve1IDs []uint64) []uint64

func (UserService) Leve3

func (service UserService) Leve3(Leve2IDs []uint64) []uint64

func (UserService) Leve4

func (service UserService) Leve4(Leve3IDs []uint64) []uint64

func (UserService) Leve5

func (service UserService) Leve5(Leve4IDs []uint64) []uint64

func (UserService) Leve6

func (service UserService) Leve6(Leve5IDs []uint64) []uint64

func (UserService) LeveAll6

func (service UserService) LeveAll6(Orm *gorm.DB, OneSuperiorID uint64) string

func (UserService) Situation

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

func (UserService) UserAction

func (service UserService) UserAction(context *gweb.Context) gweb.Result

Jump to

Keyboard shortcuts

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