controllers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth added in v1.0.1

func Auth(c *gin.Context)

func ExpressCompanyAll

func ExpressCompanyAll(c *gin.Context)

获取快递公司列表

func Login

func Login(c *gin.Context)

func RecentSearch

func RecentSearch(c *gin.Context)

查询最近的查询记录

func Search(c *gin.Context)

快递查询

Types

type BaseController

type BaseController struct {
}

BaseController 基础控制器 后续有通用的东西可以写到这里

type ExpressController

type ExpressController struct {
	BaseController
}

type IndexController

type IndexController struct {
	BaseController
}

首页控制器,让他类似继承BaseController

Jump to

Keyboard shortcuts

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