Documentation ¶
Index ¶
- Variables
- type GameService
- type OrderArg
- type OrderService
- type SmsReps
- type SmsService
- type UserService
- func (u *UserService) EditPwd(user_id int64, passwd string) (bool, error)
- func (u *UserService) GetOneById(user_id int64) (user model.User, err error)
- func (u *UserService) Login(username, password string) (user model.User, err error)
- func (u *UserService) Register(username, password string) (user int64, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *xorm.Engine
Functions ¶
This section is empty.
Types ¶
type GameService ¶
type GameService struct { }
func (*GameService) Set ¶
func (g *GameService) Set() (ret interface{}, err error)
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 SmsService ¶
type SmsService struct { }
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)
Click to show internal directories.
Click to hide internal directories.