通道的增删接口实现,数据表和目录结构调整
This commit is contained in:
13
web/common/errors.go
Normal file
13
web/common/errors.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
type AuthUnAuthorizedErr string
|
||||
|
||||
func (e AuthUnAuthorizedErr) Error() string {
|
||||
return string(e)
|
||||
}
|
||||
|
||||
type AuthForbiddenErr string
|
||||
|
||||
func (e AuthForbiddenErr) Error() string {
|
||||
return string(e)
|
||||
}
|
||||
Reference in New Issue
Block a user