new
This commit is contained in:
16
app/main/api/desc/front/auth/auth.api
Normal file
16
app/main/api/desc/front/auth/auth.api
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: "认证服务"
|
||||
desc: "认证服务"
|
||||
author: "Liangzai"
|
||||
email: "2440983361@qq.com"
|
||||
)
|
||||
|
||||
type (
|
||||
sendSmsReq {
|
||||
Mobile string `json:"mobile" validate:"required,mobile"`
|
||||
ActionType string `json:"actionType" validate:"required,oneof=login register query"`
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user