Commit Graph

4 Commits

Author SHA1 Message Date
yaziming
33e2805326 refactor(backend): Upgrade the version that depends on the library gin
Upgrade the version that depends on the library gin
2020-05-09 17:18:10 +08:00
yaziming
2f6b517356 refactor(all): refactor code
remove redundant code and some code refactor
2019-10-11 16:01:57 +08:00
yaziming
8ee33d3762 feat(backend): add some feat for error message system
errors support custom http code and support return invalid validated
error
2019-09-03 15:23:08 +08:00
yaziming
9f43e08ff9 Backend:
improve
     - AuthMiddleware 注入当前用户的信息
     - 增加Context服务支持快捷获取当前登录者信息
     - 重构Login/GetMe接口逻辑避免重复的数据库查询
     - 规范化error信息声明(向下兼容,旧代码可逐渐迁移规范化)
     - 修正部分不符合规范的代码
2019-08-31 21:26:56 +08:00