service

package
v0.0.0-...-6fa26a5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FoodCategoryService

type FoodCategoryService struct {
}

func (*FoodCategoryService) Categories

func (fcs *FoodCategoryService) Categories() ([]model.FoodCategory, error)

type MemberService

type MemberService struct {
}

func (MemberService) Login

func (receiver MemberService) Login(name string, password string) *model.Member

* 登录

func (MemberService) SendCode

func (receiver MemberService) SendCode(phone string) bool

* 发送密码

func (MemberService) SmsLogin

func (receiver MemberService) SmsLogin(param *param.SmsLoginParam) *model.Member

* 用户登录

func (MemberService) UploadAvatar

func (receiver MemberService) UploadAvatar(id int64, fileName string) string

* 更新图像

Jump to

Keyboard shortcuts

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