feat: remove custom context
This commit is contained in:
		@ -15,7 +15,6 @@ const (
 | 
			
		||||
	PrefixFuncName         = "RouterPrefix"     // 路由前缀函数名称
 | 
			
		||||
	MiddlewareFuncName     = "RouterMiddleware" // 路由中间件函数名称
 | 
			
		||||
	GinContextType         = "*gin.Context"     // gin context 类型名称
 | 
			
		||||
	CustomContextType      = "*define.Context"  // custom context 类型名称
 | 
			
		||||
	ErrorType              = "error"            // error类型
 | 
			
		||||
	ErrorInterfaceFuncName = "Error"            // error接口需要实现的方法名称
 | 
			
		||||
)
 | 
			
		||||
@ -42,7 +41,6 @@ type UriConfig struct {
 | 
			
		||||
	TagList        []string       `json:"tag_list"`       // 接口分组
 | 
			
		||||
	Desc           string         `json:"desc"`           // 接口描述
 | 
			
		||||
	OutputStrict   bool           `json:"output_strict"`  // 接口是否为严格模式 : 不配置,可返回任意类型, 配置, 必须返回结构体或者map
 | 
			
		||||
	CtxType        string         `json:"ctx_type"`       // ctx参数类型
 | 
			
		||||
	FormDataType   reflect.Type   `json:"-"`              // 表单数据类型
 | 
			
		||||
	ResultDataType reflect.Type   `json:"-"`              // 返回值数据类型
 | 
			
		||||
	ApiStructValue reflect.Value  `json:"-"`              // 逻辑函数所属结构体取值
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user