change source code from mirc/routes/* => mirc/*

pull/196/head
Michael Li 2 years ago
parent f287c825a6
commit db137b3c1c
No known key found for this signature in database

@ -1,2 +1,10 @@
### Mirc for paopao-ce ### RESTful API for paopao-ce
RESTful API for paopao-ce use [go-mir](https://github.com/alimy/mir) to generate service interface code automatic. 本目录包含所有RESTful API相关定义文件
|目录|系列API|备注|
| ----- | ----- | ----- |
|v1|/|Web v1版本RESTful API相关定义文件|
|admin|m|Admin后台运维系列相关RESTful API相关定义文件|
|space|x|SpaceX系列相关RESTful API相关定义文件|
|localoss|s| LocalOSS OBS系列RESTful API相关定义文件|
|bot|r| Bot系列相关RESTful API相关定义文件|

@ -10,11 +10,11 @@ import (
. "github.com/alimy/mir/v3/core" . "github.com/alimy/mir/v3/core"
. "github.com/alimy/mir/v3/engine" . "github.com/alimy/mir/v3/engine"
_ "github.com/rocboss/paopao-ce/mirc/routes/admin/v1" _ "github.com/rocboss/paopao-ce/mirc/admin/v1"
_ "github.com/rocboss/paopao-ce/mirc/routes/bot/v1" _ "github.com/rocboss/paopao-ce/mirc/bot/v1"
_ "github.com/rocboss/paopao-ce/mirc/routes/localoss/v1" _ "github.com/rocboss/paopao-ce/mirc/localoss/v1"
_ "github.com/rocboss/paopao-ce/mirc/routes/space/v1" _ "github.com/rocboss/paopao-ce/mirc/space/v1"
_ "github.com/rocboss/paopao-ce/mirc/routes/v1" _ "github.com/rocboss/paopao-ce/mirc/v1"
) )
//go:generate go run main.go //go:generate go run main.go

@ -1,10 +0,0 @@
### RESTful API for paopao-ce
本目录包含所有RESTful API相关定义文件
|目录|系列API|备注|
| ----- | ----- | ----- |
|v1|/|Web v1版本RESTful API相关定义文件|
|admin|m|Admin后台运维系列相关RESTful API相关定义文件|
|space|x|SpaceX系列相关RESTful API相关定义文件|
|localoss|s| LocalOSS OBS系列RESTful API相关定义文件|
|bot|r| Bot系列相关RESTful API相关定义文件|
Loading…
Cancel
Save