# hertz-admin **Repository Path**: all_admin/go-mico ## Basic Information - **Project Name**: hertz-admin - **Description**: 基于CloudWeGo-Hertz开发的后台管理系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-29 - **Last Updated**: 2024-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 生产接口文档 ```shell swag init --parseDependency --parseInternal --parseDepth 5 --instanceName "swagger" ``` - login ```shell curl --location 'http://127.0.0.1:8888/login' \ --header 'Content-Type: application/json' \ --data-raw '{ "login_name": "wangtao", "password": "a@123123" }' ``` - 请求接口 ```shell curl --location 'http://127.0.0.1:8888/auth/ping' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDE0MjE5MzcsImlkZW50aXR5Ijoid2FuZ3RhbyIsIm9yaWdfaWF0IjoxNzAxNDE4MzM3LCJ1c2VyX2lkIjoyMH0.iOXR9IIC87HAJkoyKiima07hXxifW1bWqnsGh7Xs9TM' ``` - 刷新token ```shell curl --location 'http://127.0.0.1:8888/auth/refresh_token' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDE0MjI4ODEsImlkZW50aXR5Ijoid2FuZ3RhbyIsIm9yaWdfaWF0IjoxNzAxNDE5MjgxLCJ1c2VyX2lkIjoyMH0.oPFdVp7lV1aFPl_mw-1Uovacj4ksHsg-ToKcfSRLhH0' ```