feat: update post detail page
This commit is contained in:
@@ -21,7 +21,7 @@ type TokenResponse struct {
|
||||
}
|
||||
|
||||
// Login
|
||||
// @Router /v1/admin/auth [post]
|
||||
// @Router /admin/auth [post]
|
||||
// @Bind body body
|
||||
func (ctl *auth) Login(ctx fiber.Ctx, body *AuthBody) (*TokenResponse, error) {
|
||||
if body.Username == "admin" && body.Password == "xixi@0202" {
|
||||
|
||||
Reference in New Issue
Block a user