|
|
@@ -1,6 +1,5 @@
|
|
|
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
|
|
-// This file was generated by swaggo/swag at
|
|
|
-// 2021-01-08 16:28:24.8381164 +0800 CST m=+0.073999901
|
|
|
+// This file was generated by swaggo/swag
|
|
|
|
|
|
package docs
|
|
|
|
|
|
@@ -90,6 +89,766 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "/HrSensors/AddHrSensors": {
|
|
|
+ "post": {
|
|
|
+ "description": "添加商家公共心率设备",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "HrSensors"
|
|
|
+ ],
|
|
|
+ "summary": "添加商家公共心率设备",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "商家ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "心率带Sn",
|
|
|
+ "name": "sn",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "场馆内编号 01 02",
|
|
|
+ "name": "venueNo",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/HrSensors/AddPvtHrSensors": {
|
|
|
+ "post": {
|
|
|
+ "description": "添加会员私有心率设备",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "HrSensors"
|
|
|
+ ],
|
|
|
+ "summary": "添加会员私有心率设备",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "商家ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "心率带Sn",
|
|
|
+ "name": "sn",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户ID",
|
|
|
+ "name": "userId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/Test/UserAdd": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户添加",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "Test"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户添加",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopCoachAdd": {
|
|
|
+ "post": {
|
|
|
+ "description": "商家教练添加",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "商家教练添加",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "店铺ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "登陆用户名也是手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "密码",
|
|
|
+ "name": "pwd",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "性别 1:男, 2:女",
|
|
|
+ "name": "sex",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "备注",
|
|
|
+ "name": "memo",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopCoachEdit": {
|
|
|
+ "post": {
|
|
|
+ "description": "商家教练基本信息修改",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "商家教练基本信息修改",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "教练ID",
|
|
|
+ "name": "ssId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "密码",
|
|
|
+ "name": "pwd",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "备注",
|
|
|
+ "name": "memo",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "性别 1:男, 2:女",
|
|
|
+ "name": "sex",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopCoachListQuery": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户列表(带分页)",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户列表(带分页)",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "当前条",
|
|
|
+ "name": "start",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "tableMax",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ShopUserInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopCoachSimpleQuery": {
|
|
|
+ "post": {
|
|
|
+ "description": "本店会员用户基本信息查询",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "本店会员用户基本信息查询",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "商家ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ShopCoachSimpleInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopCoachStatusEdit": {
|
|
|
+ "post": {
|
|
|
+ "description": "商家教练状态修改",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "商家教练状态修改",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "教练ID",
|
|
|
+ "name": "ssId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "状态 1:启用\t 8:禁用 9:删除",
|
|
|
+ "name": "status",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopUserAdd": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户添加",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户添加",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "店铺ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "登陆用户名也是手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "性别 1:男, 2:女",
|
|
|
+ "name": "sex",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "生日",
|
|
|
+ "name": "birthday",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "身高",
|
|
|
+ "name": "height",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "体重 ",
|
|
|
+ "name": "weight",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "静态心率",
|
|
|
+ "name": "staticHr",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "头像",
|
|
|
+ "name": "head",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "备注",
|
|
|
+ "name": "memo",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopUserEdit": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户基本信息修改",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户基本信息修改",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户Id",
|
|
|
+ "name": "userId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "备注",
|
|
|
+ "name": "memo",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "生日",
|
|
|
+ "name": "birthday",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "身高",
|
|
|
+ "name": "height",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "体重",
|
|
|
+ "name": "weight",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "性别 1:男, 2:女",
|
|
|
+ "name": "sex",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "静态心率",
|
|
|
+ "name": "staticHr",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "头像URL",
|
|
|
+ "name": "head",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopUserListQuery": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户列表(带分页)",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户列表(带分页)",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "手机号",
|
|
|
+ "name": "phone",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "姓名",
|
|
|
+ "name": "name",
|
|
|
+ "in": "formData"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "当前条",
|
|
|
+ "name": "start",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "tableMax",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ShopUserInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopUserSimpleQuery": {
|
|
|
+ "post": {
|
|
|
+ "description": "本店会员用户基本信息查询",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "本店会员用户基本信息查询",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "商家ID",
|
|
|
+ "name": "shopId",
|
|
|
+ "in": "formData"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ShopUserSimpleInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/User/ShopUserStatusEdit": {
|
|
|
+ "post": {
|
|
|
+ "description": "会员用户状态修改",
|
|
|
+ "consumes": [
|
|
|
+ "application/x-www-form-urlencoded"
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "User"
|
|
|
+ ],
|
|
|
+ "summary": "会员用户状态修改",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "Token",
|
|
|
+ "name": "token",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户ID",
|
|
|
+ "name": "userId",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "状态 1:启用\t 8:禁用 9:删除",
|
|
|
+ "name": "status",
|
|
|
+ "in": "formData",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/controller.ResponseBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"definitions": {
|
|
|
@@ -103,6 +862,51 @@ var doc = `{
|
|
|
"type": "string"
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "controller.ShopCoachSimpleInfo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "memo": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "rs": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "controller.ShopUserInfo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "memo": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "pageCount": {
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "rs": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "controller.ShopUserSimpleInfo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "memo": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "rs": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"securityDefinitions": {
|