feat:完善信息
This commit is contained in:
@ -30,6 +30,13 @@ func GetSession() ApiHandle {
|
||||
}
|
||||
}
|
||||
|
||||
func GetLocal() ApiHandle {
|
||||
return func(c *gin.Context) interface{} {
|
||||
value, _ := c.Get(config.ContentForLocal)
|
||||
return value
|
||||
}
|
||||
}
|
||||
|
||||
func Bind(req interface{}) ApiHandle {
|
||||
return func(c *gin.Context) interface{} {
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user