staff

package
v0.0.0-...-2946602 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDepartment

func CreateDepartment(ctx *gin.Context)

CreateDepartment 创建部门

func CreateStaff

func CreateStaff(ctx *gin.Context)

CreateStaff @Param model.Staff

func DeleteDepartment

func DeleteDepartment(ctx *gin.Context)

DeleteDepartment 删除部门

func DeleteStaff

func DeleteStaff(ctx *gin.Context)

DeleteStaff 删除员工

func SelectDepartment

func SelectDepartment(ctx *gin.Context)

SelectDepartment 查询部门

func SelectStaff

func SelectStaff(ctx *gin.Context)

SelectStaff 查询员工

func SelectStaffRole

func SelectStaffRole(ctx *gin.Context)

func SendStaffValidateEmail

func SendStaffValidateEmail(ctx *gin.Context)

func UpdateDepartment

func UpdateDepartment(ctx *gin.Context)

UpdateDepartment 更新部门

func UpdatePersonalInfo

func UpdatePersonalInfo(ctx *gin.Context)

UpdatePersonalInfo TODO 读请求头验证是不是本人

func UpdateStaff

func UpdateStaff(ctx *gin.Context)

UpdateStaff 更新员工

func ValidateStaffEmail

func ValidateStaffEmail(ctx *gin.Context)

ValidateStaffEmail @Description 验证邮箱验证码 @Accept json @Produce json @Router /services/staff/validate_staff_email [post] @Param staff_email string "用户邮箱",captcha string "用户输入的验证码" @Success 200 @Failure otherCode

Types

This section is empty.

Jump to

Keyboard shortcuts

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