feat: add posts
This commit is contained in:
@@ -29,7 +29,7 @@ func (r *Routes) Name() string {
|
||||
|
||||
func (r *Routes) Register(router fiber.Router) {
|
||||
// 注册路由组: Controller
|
||||
router.Get("/users/info", DataFunc1(
|
||||
router.Get("/api/v1/users/info", DataFunc1(
|
||||
r.controller.Info,
|
||||
Local[*jwt.Claims]("claim"),
|
||||
))
|
||||
|
||||
@@ -55,7 +55,6 @@ func (s *ServiceTestSuite) Test_GetUserIDByOpenID() {
|
||||
Channel: fields.AuthChannelWeChat,
|
||||
UserID: 1,
|
||||
OpenID: "test_open_id",
|
||||
AccessKey: "test_access_key",
|
||||
AccessToken: "test_access_token",
|
||||
RefreshToken: "test_refresh_token",
|
||||
ExpireAt: time.Now().Add(time.Hour),
|
||||
|
||||
Reference in New Issue
Block a user