|
|
@@ -120,20 +120,6 @@ var doc = `{
|
|
|
"name": "codeType",
|
|
|
"in": "formData",
|
|
|
"required": true
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "string",
|
|
|
- "description": "图形验证码id",
|
|
|
- "name": "picId",
|
|
|
- "in": "formData",
|
|
|
- "required": true
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "string",
|
|
|
- "description": "图形验证码",
|
|
|
- "name": "picCode",
|
|
|
- "in": "formData",
|
|
|
- "required": true
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
@@ -185,9 +171,9 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/Test/UserAdd": {
|
|
|
+ "/HrSensors/HrSensorsUpdate": {
|
|
|
"post": {
|
|
|
- "description": "会员用户添加",
|
|
|
+ "description": "心率带信息查询和更新",
|
|
|
"consumes": [
|
|
|
"application/x-www-form-urlencoded"
|
|
|
],
|
|
|
@@ -195,14 +181,21 @@ var doc = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "Test"
|
|
|
+ "HrSensors"
|
|
|
],
|
|
|
- "summary": "会员用户添加",
|
|
|
+ "summary": "心率带信息查询和更新",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "姓名",
|
|
|
- "name": "name",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "心率带编号",
|
|
|
+ "name": "sn",
|
|
|
"in": "formData",
|
|
|
"required": true
|
|
|
}
|
|
|
@@ -217,9 +210,9 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/Test/UserListQuery": {
|
|
|
+ "/User/GetDuInfoAndUserInfoByUserMd5": {
|
|
|
"post": {
|
|
|
- "description": "会员用户查询",
|
|
|
+ "description": "查询用户当前显示单元和对应身体信息",
|
|
|
"consumes": [
|
|
|
"application/x-www-form-urlencoded"
|
|
|
],
|
|
|
@@ -227,14 +220,23 @@ var doc = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "Test"
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "查询用户是否正在上课接口",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
],
|
|
|
- "summary": "会员用户查询",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/controller.UserList"
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -242,7 +244,7 @@ var doc = `{
|
|
|
},
|
|
|
"/User/UserSelfQuery": {
|
|
|
"post": {
|
|
|
- "description": "会员信息查询",
|
|
|
+ "description": "会员自身信息查询",
|
|
|
"consumes": [
|
|
|
"application/x-www-form-urlencoded"
|
|
|
],
|
|
|
@@ -252,7 +254,7 @@ var doc = `{
|
|
|
"tags": [
|
|
|
"User"
|
|
|
],
|
|
|
- "summary": "会员信息查询",
|
|
|
+ "summary": "会员自身信息查询",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "string",
|
|
|
@@ -295,23 +297,6 @@ var doc = `{
|
|
|
"type": "string"
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- "controller.UserList": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "memo": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "rs": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "type": "object"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
"securityDefinitions": {
|