controller

package
v0.0.0-...-34b391d Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountHandler

func AccountHandler(c *gin.Context)

AccountHandler 帐号信息

func BillAddHandler

func BillAddHandler(c *gin.Context)

BillAddHandler 票据添加

func BillChangeHandler

func BillChangeHandler(c *gin.Context)

BillChangeHandler 票据编辑

func BillDeleteHandler

func BillDeleteHandler(c *gin.Context)

BillDeleteHandler 票据删除

func BillDetailHandler

func BillDetailHandler(c *gin.Context)

BillDetailHandler 票据详情

func BillHandler

func BillHandler(c *gin.Context)

BillHandler 票据信息

func BorrowHandler

func BorrowHandler(c *gin.Context)

BorrowHandler 借用雨伞

func BugHandler

func BugHandler(c *gin.Context)

BugHandler 问题反馈

func ChangePasswordHandler

func ChangePasswordHandler(c *gin.Context)

ChangePasswordHandler 修改密码

func DashboardHandler

func DashboardHandler(c *gin.Context)

DashboardHandler 我的仪表盘

func GetPasswordHandler

func GetPasswordHandler(c *gin.Context)

GetPasswordHandler 找回密码

func HomeHandler

func HomeHandler(c *gin.Context)

HomeHandler 网站首页

func IndexHandler

func IndexHandler(c *gin.Context)

IndexHandler 用户中心

func LoginHandler

func LoginHandler(c *gin.Context)

LoginHandler 登录帐号

func LogoutHandler

func LogoutHandler(c *gin.Context)

LogoutHandler 注销帐号

func NotFoundHandler

func NotFoundHandler(c *gin.Context)

NotFoundHandler 找不到页面

func RegisterHandler

func RegisterHandler(c *gin.Context)

RegisterHandler 注册帐号

func ReturnHandler

func ReturnHandler(c *gin.Context)

ReturnHandler 归还雨伞

func UmbrellaAddHandler

func UmbrellaAddHandler(c *gin.Context)

UmbrellaAddHandler 雨伞添加

func UmbrellaChangeHandler

func UmbrellaChangeHandler(c *gin.Context)

UmbrellaChangeHandler 雨伞编辑

func UmbrellaDeleteHandler

func UmbrellaDeleteHandler(c *gin.Context)

UmbrellaDeleteHandler 雨伞删除

func UmbrellaDetailHandler

func UmbrellaDetailHandler(c *gin.Context)

UmbrellaDetailHandler 雨伞详情

func UmbrellaHandler

func UmbrellaHandler(c *gin.Context)

UmbrellaHandler 雨伞信息

func UserAddHandler

func UserAddHandler(c *gin.Context)

UserAddHandler 用户添加

func UserChangeHandler

func UserChangeHandler(c *gin.Context)

UserChangeHandler 用户编辑

func UserDeleteHandler

func UserDeleteHandler(c *gin.Context)

UserDeleteHandler 用户删除

func UserDetailHandler

func UserDetailHandler(c *gin.Context)

UserDetailHandler 用户详情

func UserHandler

func UserHandler(c *gin.Context)

UserHandler 用户信息

func UserProfileHandler

func UserProfileHandler(c *gin.Context)

UserProfileHandler 编辑我的信息

Types

type ResponseAccount

type ResponseAccount struct {
	Title       string
	Description string
	Button      string
	Message     string
	Year        string
}

ResponseAccount 响应数据

type ResponseBill

type ResponseBill struct {
	Title        string
	Description  string
	Button       string
	Message      string
	Fullname     string
	Username     string
	Bills        []model.Bill
	Bill         model.Bill
	ID           string
	Text         string
	Gte          string
	Lte          string
	Page         int
	PreviousPage int
	NextPage     int
	MinPage      int
	MaxPage      int
	TotalPage    int
	Year         string
}

ResponseBill 响应数据

type ResponseHome

type ResponseHome struct {
	Title         string
	Description   string
	Button        string
	Message       string
	Fullname      string
	Username      string
	ID            string
	UserCount     int64
	BillCount     int64
	UmbrellaCount int64
	Year          string
}

ResponseHome 响应数据

type ResponseUmbrella

type ResponseUmbrella struct {
	Title        string
	Description  string
	Button       string
	Message      string
	Fullname     string
	Username     string
	Umbrellas    []model.Umbrella
	Umbrella     model.Umbrella
	ID           string
	Text         string
	Gte          string
	Lte          string
	Page         int
	PreviousPage int
	NextPage     int
	MinPage      int
	MaxPage      int
	TotalPage    int
	Year         string
}

ResponseUmbrella 响应数据

type ResponseUser

type ResponseUser struct {
	Title          string
	Description    string
	Button         string
	Message        string
	UserID         int
	Fullname       string
	Username       string
	Users          []model.User
	User           model.User
	ID             string
	EncodePassword string
	DecodePassword string
	Text           string
	Gte            string
	Lte            string
	Page           int
	PreviousPage   int
	NextPage       int
	MinPage        int
	MaxPage        int
	TotalPage      int
	Year           string
}

ResponseUser 响应数据

Jump to

Keyboard shortcuts

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