feat(auth): 添加用户登录功能
This commit is contained in:
1 parent
92a9e20934
commit
63c8f2980b
10 files changed
+210
-18
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package global
|
||||
|
||||
import "errors"
|
||||
|
||||
// 预定义全局通用的系统级/数据库级错误
|
||||
var (
|
||||
ErrDbQuery = errors.New("数据库查询异常")
|
||||
ErrDbSave = errors.New("数据保存失败")
|
||||
ErrDbDelete = errors.New("数据删除失败")
|
||||
ErrDbUpdate = errors.New("数据更新失败")
|
||||
)
|
||||
Reference in new issue
Block a user