You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
338 B
21 lines
338 B
|
1 year ago
|
package backend
|
||
|
|
|
||
|
|
import "server/modules/backend/values"
|
||
|
|
|
||
|
|
// swagger:route POST /account/login account idOfLogin
|
||
|
|
// 登录
|
||
|
|
// Responses:
|
||
|
|
// 200:LoginResp
|
||
|
|
|
||
|
|
// swagger:response LoginResp
|
||
|
|
type LoginResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.LoginReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfLogin
|
||
|
|
type LoginReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.LoginResp
|
||
|
|
}
|