api

package
v0.0.0-...-1911912 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUpFile

func CleanUpFile(c *gin.Context)

func GetRoutes

func GetRoutes(c *gin.Context)

获取数据中台路由表

func Login

func Login(c *gin.Context)

用户登录

func OnDuty

func OnDuty(c *gin.Context)

接收值班通知推送消息

func Rlogin

func Rlogin(c *gin.Context)

代理转发智税平台用户登录

func UploadFile

func UploadFile(c *gin.Context)

func UserInfo

func UserInfo(c *gin.Context)

获取用户信息,存入session

Types

type DutyForm

type DutyForm struct {
	Mobile string `json:"mobile"`
	Text   string `json:"text"`
}

type LoginForm

type LoginForm struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type UserForm

type UserForm struct {
	UserAccount string `json:"user_account"`
	Username    string `json:"username"`
	DepartID    string `json:"depart_id"`
	DepartName  string `json:"depart_name"`
	UserRole    string `json:"user_role"`
}

Directories

Path Synopsis
v1
dev
h5

Jump to

Keyboard shortcuts

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