Documentation ¶
Index ¶
- Variables
- func Binding(ctx echo.Context) (err error)
- func BindingSendingInterval(sendMethod string) int64
- func BindingSendingMaxPerDay(sendMethod string) int64
- func BindingSendingRemainCount(ctx echo.Context, cust *modelCustomer.Customer, sendMethod string) int64
- func Comments(ctx echo.Context) error
- func EmailVerify(ctx echo.Context, m *modelCustomer.Customer, purpose string) error
- func Favorites(ctx echo.Context) error
- func Follow(ctx echo.Context) error
- func Followers(ctx echo.Context) error
- func FollowersBy(ctx echo.Context, customerID uint64) error
- func Following(ctx echo.Context) error
- func FollowingBy(ctx echo.Context, customerID uint64) error
- func IsFollowed(ctx echo.Context) error
- func Likes(ctx echo.Context) error
- func MobileVerify(ctx echo.Context, m *modelCustomer.Customer, purpose string) error
- func Password(c echo.Context) error
- func Profile(c echo.Context) error
- func Settings(ctx echo.Context) error
- func Unfollow(ctx echo.Context) error
- type StepID
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PasswordModifyStepIDs = map[string]StepID{ `init`: StepInit, `send`: StepSend, `verify`: StepVerifyAndModify, } PasswordModifySteps = []string{ `init`, `send`, `verify`, } )
Functions ¶
func BindingSendingInterval ¶
BindingSendingInterval 间隔时间(秒)
func BindingSendingMaxPerDay ¶
BindingSendingMaxPerDay 每人每天发送上限
func BindingSendingRemainCount ¶
func BindingSendingRemainCount(ctx echo.Context, cust *modelCustomer.Customer, sendMethod string) int64
BindingSendingRemainCount 今天剩余可发几次
func EmailVerify ¶
EmailVerify 验证邮件
func MobileVerify ¶
MobileVerify 验证短信
Types ¶
Click to show internal directories.
Click to hide internal directories.