yaziming
|
5e2b3ca228
|
Revert "Revert "V0.4.0 imporve error response""
This reverts commit acccdb65bd.
|
2019-09-04 20:41:37 +08:00 |
|
Marvin Zhang
|
acccdb65bd
|
Revert "V0.4.0 imporve error response"
|
2019-09-03 15:24:26 +08:00 |
|
hantmac
|
cb3d7263b2
|
bug fix:fix go test ./.. bug
|
2019-09-03 12:47:18 +08:00 |
|
yaziming
|
81f6cf021f
|
Backend:
improve
- AuthMiddleware 注入当前用户的信息
- 增加Context服务支持快捷获取当前登录者信息
- 重构Login/GetMe接口逻辑避免重复的数据库查询
- 规范化error信息声明(向下兼容,旧代码可逐渐迁移规范化)
- 修正部分不符合规范的代码
|
2019-08-31 21:26:56 +08:00 |
|
hantmac
|
5e707adad4
|
add unit test for routes/spider.go
|
2019-08-26 21:10:55 +08:00 |
|
hantmac
|
2c0ac66cb1
|
Add unit test for task.go
|
2019-08-24 13:39:06 +08:00 |
|
hantmac
|
44e98a56a3
|
unit test for stats.go
|
2019-08-23 20:28:11 +08:00 |
|
hantmac
|
87f1cebc3b
|
modify unit test to use mock
|
2019-08-22 16:20:30 +08:00 |
|