service

package
v0.0.0-...-4bb85b7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GameService

type GameService struct {
}

func (*GameService) Set

func (g *GameService) Set() (ret interface{}, err error)

type OrderArg

type OrderArg struct {
}

type OrderService

type OrderService struct {
}

func (*OrderService) BuildCond

func (o *OrderService) BuildCond(arg model.OrderSerach) *xorm.Session

func (*OrderService) GetOrderCount

func (o *OrderService) GetOrderCount(orderArg model.OrderSerach) (int64, error)

func (*OrderService) GetOrderList

func (o *OrderService) GetOrderList(orderArg model.OrderSerach) ([]model.OrderInfo, error)

type SmsReps

type SmsReps struct {
	Succes bool   `json:"success"`
	Id     string ` json:"id"`
}

type SmsService

type SmsService struct {
}

func (*SmsService) SmsSend

func (s *SmsService) SmsSend(mobile, msg string) (ret bool, err error)

type UserService

type UserService struct {
}

func (*UserService) EditPwd

func (u *UserService) EditPwd(user_id int64, passwd string) (bool, error)

func (*UserService) GetOneById

func (u *UserService) GetOneById(user_id int64) (user model.User, err error)

func (*UserService) Login

func (u *UserService) Login(username, password string) (user model.User, err error)

func (*UserService) Register

func (u *UserService) Register(username, password string) (user int64, err error)

Jump to

Keyboard shortcuts

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