feat: phone validate
This commit is contained in:
@@ -701,6 +701,17 @@
|
||||
"Auth"
|
||||
],
|
||||
"summary": "手机验证",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "手机号",
|
||||
"name": "form",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/http.PhoneValidationForm"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功",
|
||||
@@ -718,6 +729,17 @@
|
||||
"Auth"
|
||||
],
|
||||
"summary": "手机验证",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "请求体",
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/http.PhoneValidationForm"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功",
|
||||
@@ -1277,6 +1299,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"http.PhoneValidationForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"http.PlayUrl": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user