Parcourir la source

文档

master
huangjiajun il y a 2 mois
Parent
révision
99ed0ab74a
3 fichiers modifiés avec 1463 ajouts et 9 suppressions
  1. +546
    -3
      docs/docs.go
  2. +546
    -3
      docs/swagger.json
  3. +371
    -3
      docs/swagger.yaml

+ 546
- 3
docs/docs.go Voir le fichier

@@ -25,9 +25,150 @@ const docTemplate = `{
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/api/applet/application/ad/space/save": {
"post": {
"description": "小程序应用-广告位新增",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "广告位新增",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceSaveReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/application/applet/list": {
"post": {
"description": "小程序应用-列表数据",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "列表数据",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationListReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容---这是data里面的数据",
"schema": {
"$ref": "#/definitions/md.AppletApplicationListRes"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/application/applet/save": {
"post": {
"description": "小程序应用-新增或保存",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "新增或保存",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationSaveReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/login": {
"post": {
"description": "登入",
"description": "手机号注册",
"consumes": [
"application/json"
],
@@ -37,10 +178,10 @@ const docTemplate = `{
"tags": [
"ADMIN"
],
"summary": "登陆",
"summary": "手机号注册",
"parameters": [
{
"description": "用户名、码",
"description": "用户名、验证码",
"name": "req",
"in": "body",
"required": true,
@@ -65,6 +206,52 @@ const docTemplate = `{
}
}
},
"/api/qiniuyun/upload": {
"post": {
"description": "七牛云-七牛云上传",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"七牛云"
],
"summary": "七牛云上传",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header"
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.ImgReqUpload"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/qualification/bank/save": {
"post": {
"description": "资质认证-银行资质保存",
@@ -870,6 +1057,52 @@ const docTemplate = `{
}
}
}
},
"/api/sms": {
"post": {
"description": "短信-短信发送",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"短信"
],
"summary": "短信发送",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header"
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.SmsReq"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
}
},
"definitions": {
@@ -923,6 +1156,259 @@ const docTemplate = `{
}
}
},
"md.AppletApplicationAdSpaceListData": {
"type": "object",
"properties": {
"ad_id": {
"type": "string",
"example": "广告位id"
},
"app_id": {
"type": "string",
"example": "小程序appid"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"id": {
"type": "string",
"example": "id"
},
"kind": {
"type": "string",
"example": "广告位类型"
},
"logo": {
"type": "string",
"example": "logo"
},
"memo": {
"type": "string",
"example": "备注"
},
"name": {
"type": "string",
"example": "应用名称"
},
"platform": {
"type": "string",
"example": "平台"
},
"state": {
"type": "string",
"example": "应用状态 state=2 才能再次编辑"
}
}
},
"md.AppletApplicationAdSpaceListReq": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"limit": {
"type": "string"
},
"name": {
"type": "string"
},
"page": {
"type": "string"
},
"platform": {
"type": "string"
}
}
},
"md.AppletApplicationAdSpaceListRes": {
"type": "object",
"properties": {
"ad_type": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"application": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"cooperate_state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
}
},
"platform": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"total": {
"type": "integer"
}
}
},
"md.AppletApplicationAdSpaceSaveReq": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"kind": {
"type": "string",
"example": "广告类型"
},
"name": {
"type": "string",
"example": "应用名称"
}
}
},
"md.AppletApplicationListData": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"id": {
"type": "string",
"example": "id"
},
"logo": {
"type": "string",
"example": "logo"
},
"memo": {
"type": "string",
"example": "备注"
},
"name": {
"type": "string",
"example": "应用名称"
},
"original_id": {
"type": "string",
"example": "小程序id"
},
"platform": {
"type": "string",
"example": "平台"
},
"state": {
"type": "string",
"example": "应用状态 state=3 才能再次编辑"
}
}
},
"md.AppletApplicationListReq": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"limit": {
"type": "string"
},
"name": {
"type": "string"
},
"page": {
"type": "string"
},
"platform": {
"type": "string"
}
}
},
"md.AppletApplicationListRes": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.AppletApplicationListData"
}
},
"platform": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"total": {
"type": "integer"
}
}
},
"md.AppletApplicationSaveReq": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"id": {
"type": "string",
"example": "id"
},
"logo": {
"type": "string",
"example": "logo"
},
"name": {
"type": "string",
"example": "应用名称"
},
"original_id": {
"type": "string",
"example": "小程序id"
},
"platform": {
"type": "string",
"example": "平台 微信小程序:wx_applet"
}
}
},
"md.BindAdminRoleReq": {
"type": "object",
"required": [
@@ -940,6 +1426,38 @@ const docTemplate = `{
}
}
},
"md.ImgReqUpload": {
"type": "object",
"properties": {
"dir": {
"type": "string"
},
"file_name": {
"type": "string"
},
"file_size": {
"description": "文件大小, 单位byte",
"type": "integer"
}
}
},
"md.LoginPhoneReq": {
"type": "object",
"required": [
"captcha",
"username"
],
"properties": {
"captcha": {
"type": "string",
"example": "验证码"
},
"username": {
"type": "string",
"example": "登录账号"
}
}
},
"md.LoginReq": {
"type": "object",
"required": [
@@ -1140,6 +1658,31 @@ const docTemplate = `{
}
}
},
"md.SelectData": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "名称"
},
"value": {
"type": "string",
"example": "值"
}
}
},
"md.SmsReq": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"type": {
"type": "string",
"example": "手机号登陆:fast_login 注册:register"
}
}
},
"md.UpdateAdminReq": {
"type": "object",
"required": [


+ 546
- 3
docs/swagger.json Voir le fichier

@@ -17,9 +17,150 @@
},
"host": "localhost:1004 or xxxxx.medium.dengbiao.top",
"paths": {
"/api/applet/application/ad/space/save": {
"post": {
"description": "小程序应用-广告位新增",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "广告位新增",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceSaveReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/application/applet/list": {
"post": {
"description": "小程序应用-列表数据",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "列表数据",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationListReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容---这是data里面的数据",
"schema": {
"$ref": "#/definitions/md.AppletApplicationListRes"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/application/applet/save": {
"post": {
"description": "小程序应用-新增或保存",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"小程序应用------嘉俊"
],
"summary": "新增或保存",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AppletApplicationSaveReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/login": {
"post": {
"description": "登入",
"description": "手机号注册",
"consumes": [
"application/json"
],
@@ -29,10 +170,10 @@
"tags": [
"ADMIN"
],
"summary": "登陆",
"summary": "手机号注册",
"parameters": [
{
"description": "用户名、码",
"description": "用户名、验证码",
"name": "req",
"in": "body",
"required": true,
@@ -57,6 +198,52 @@
}
}
},
"/api/qiniuyun/upload": {
"post": {
"description": "七牛云-七牛云上传",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"七牛云"
],
"summary": "七牛云上传",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header"
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.ImgReqUpload"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/qualification/bank/save": {
"post": {
"description": "资质认证-银行资质保存",
@@ -862,6 +1049,52 @@
}
}
}
},
"/api/sms": {
"post": {
"description": "短信-短信发送",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"短信"
],
"summary": "短信发送",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header"
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.SmsReq"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
}
},
"definitions": {
@@ -915,6 +1148,259 @@
}
}
},
"md.AppletApplicationAdSpaceListData": {
"type": "object",
"properties": {
"ad_id": {
"type": "string",
"example": "广告位id"
},
"app_id": {
"type": "string",
"example": "小程序appid"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"id": {
"type": "string",
"example": "id"
},
"kind": {
"type": "string",
"example": "广告位类型"
},
"logo": {
"type": "string",
"example": "logo"
},
"memo": {
"type": "string",
"example": "备注"
},
"name": {
"type": "string",
"example": "应用名称"
},
"platform": {
"type": "string",
"example": "平台"
},
"state": {
"type": "string",
"example": "应用状态 state=2 才能再次编辑"
}
}
},
"md.AppletApplicationAdSpaceListReq": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"limit": {
"type": "string"
},
"name": {
"type": "string"
},
"page": {
"type": "string"
},
"platform": {
"type": "string"
}
}
},
"md.AppletApplicationAdSpaceListRes": {
"type": "object",
"properties": {
"ad_type": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"application": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"cooperate_state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
}
},
"platform": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"total": {
"type": "integer"
}
}
},
"md.AppletApplicationAdSpaceSaveReq": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"kind": {
"type": "string",
"example": "广告类型"
},
"name": {
"type": "string",
"example": "应用名称"
}
}
},
"md.AppletApplicationListData": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"id": {
"type": "string",
"example": "id"
},
"logo": {
"type": "string",
"example": "logo"
},
"memo": {
"type": "string",
"example": "备注"
},
"name": {
"type": "string",
"example": "应用名称"
},
"original_id": {
"type": "string",
"example": "小程序id"
},
"platform": {
"type": "string",
"example": "平台"
},
"state": {
"type": "string",
"example": "应用状态 state=3 才能再次编辑"
}
}
},
"md.AppletApplicationListReq": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "string",
"example": "合作状态"
},
"limit": {
"type": "string"
},
"name": {
"type": "string"
},
"page": {
"type": "string"
},
"platform": {
"type": "string"
}
}
},
"md.AppletApplicationListRes": {
"type": "object",
"properties": {
"cooperate_state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.AppletApplicationListData"
}
},
"platform": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"state": {
"type": "array",
"items": {
"$ref": "#/definitions/md.SelectData"
}
},
"total": {
"type": "integer"
}
}
},
"md.AppletApplicationSaveReq": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"example": "小程序appid"
},
"id": {
"type": "string",
"example": "id"
},
"logo": {
"type": "string",
"example": "logo"
},
"name": {
"type": "string",
"example": "应用名称"
},
"original_id": {
"type": "string",
"example": "小程序id"
},
"platform": {
"type": "string",
"example": "平台 微信小程序:wx_applet"
}
}
},
"md.BindAdminRoleReq": {
"type": "object",
"required": [
@@ -932,6 +1418,38 @@
}
}
},
"md.ImgReqUpload": {
"type": "object",
"properties": {
"dir": {
"type": "string"
},
"file_name": {
"type": "string"
},
"file_size": {
"description": "文件大小, 单位byte",
"type": "integer"
}
}
},
"md.LoginPhoneReq": {
"type": "object",
"required": [
"captcha",
"username"
],
"properties": {
"captcha": {
"type": "string",
"example": "验证码"
},
"username": {
"type": "string",
"example": "登录账号"
}
}
},
"md.LoginReq": {
"type": "object",
"required": [
@@ -1132,6 +1650,31 @@
}
}
},
"md.SelectData": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "名称"
},
"value": {
"type": "string",
"example": "值"
}
}
},
"md.SmsReq": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"type": {
"type": "string",
"example": "手机号登陆:fast_login 注册:register"
}
}
},
"md.UpdateAdminReq": {
"type": "object",
"required": [


+ 371
- 3
docs/swagger.yaml Voir le fichier

@@ -32,6 +32,182 @@ definitions:
username:
type: string
type: object
md.AppletApplicationAdSpaceListData:
properties:
ad_id:
example: 广告位id
type: string
app_id:
example: 小程序appid
type: string
cooperate_state:
example: 合作状态
type: string
id:
example: id
type: string
kind:
example: 广告位类型
type: string
logo:
example: logo
type: string
memo:
example: 备注
type: string
name:
example: 应用名称
type: string
platform:
example: 平台
type: string
state:
example: 应用状态 state=2 才能再次编辑
type: string
type: object
md.AppletApplicationAdSpaceListReq:
properties:
cooperate_state:
example: 合作状态
type: string
limit:
type: string
name:
type: string
page:
type: string
platform:
type: string
type: object
md.AppletApplicationAdSpaceListRes:
properties:
ad_type:
items:
$ref: '#/definitions/md.SelectData'
type: array
application:
items:
additionalProperties:
type: string
type: object
type: array
cooperate_state:
items:
$ref: '#/definitions/md.SelectData'
type: array
list:
items:
$ref: '#/definitions/md.AppletApplicationAdSpaceListData'
type: array
platform:
items:
$ref: '#/definitions/md.SelectData'
type: array
state:
items:
$ref: '#/definitions/md.SelectData'
type: array
total:
type: integer
type: object
md.AppletApplicationAdSpaceSaveReq:
properties:
app_id:
example: 小程序appid
type: string
kind:
example: 广告类型
type: string
name:
example: 应用名称
type: string
type: object
md.AppletApplicationListData:
properties:
app_id:
example: 小程序appid
type: string
cooperate_state:
example: 合作状态
type: string
id:
example: id
type: string
logo:
example: logo
type: string
memo:
example: 备注
type: string
name:
example: 应用名称
type: string
original_id:
example: 小程序id
type: string
platform:
example: 平台
type: string
state:
example: 应用状态 state=3 才能再次编辑
type: string
type: object
md.AppletApplicationListReq:
properties:
cooperate_state:
example: 合作状态
type: string
limit:
type: string
name:
type: string
page:
type: string
platform:
type: string
type: object
md.AppletApplicationListRes:
properties:
cooperate_state:
items:
$ref: '#/definitions/md.SelectData'
type: array
list:
items:
$ref: '#/definitions/md.AppletApplicationListData'
type: array
platform:
items:
$ref: '#/definitions/md.SelectData'
type: array
state:
items:
$ref: '#/definitions/md.SelectData'
type: array
total:
type: integer
type: object
md.AppletApplicationSaveReq:
properties:
app_id:
example: 小程序appid
type: string
id:
example: id
type: string
logo:
example: logo
type: string
name:
example: 应用名称
type: string
original_id:
example: 小程序id
type: string
platform:
example: 平台 微信小程序:wx_applet
type: string
type: object
md.BindAdminRoleReq:
properties:
id:
@@ -43,6 +219,28 @@ definitions:
required:
- id
type: object
md.ImgReqUpload:
properties:
dir:
type: string
file_name:
type: string
file_size:
description: 文件大小, 单位byte
type: integer
type: object
md.LoginPhoneReq:
properties:
captcha:
example: 验证码
type: string
username:
example: 登录账号
type: string
required:
- captcha
- username
type: object
md.LoginReq:
properties:
code:
@@ -176,6 +374,23 @@ definitions:
required:
- role_id
type: object
md.SelectData:
properties:
name:
example: 名称
type: string
value:
example: 值
type: string
type: object
md.SmsReq:
properties:
phone:
type: string
type:
example: 手机号登陆:fast_login 注册:register
type: string
type: object
md.UpdateAdminReq:
properties:
id:
@@ -238,13 +453,106 @@ info:
title: 广告联盟-媒体平台
version: "1.0"
paths:
/api/applet/application/ad/space/save:
post:
consumes:
- application/json
description: 小程序应用-广告位新增
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.AppletApplicationAdSpaceSaveReq'
produces:
- application/json
responses:
"200":
description: 具体看返回内容
schema:
type: string
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 广告位新增
tags:
- 小程序应用------嘉俊
/api/application/applet/list:
post:
consumes:
- application/json
description: 小程序应用-列表数据
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.AppletApplicationListReq'
produces:
- application/json
responses:
"200":
description: 具体看返回内容---这是data里面的数据
schema:
$ref: '#/definitions/md.AppletApplicationListRes'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 列表数据
tags:
- 小程序应用------嘉俊
/api/application/applet/save:
post:
consumes:
- application/json
description: 小程序应用-新增或保存
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.AppletApplicationSaveReq'
produces:
- application/json
responses:
"200":
description: 具体看返回内容
schema:
type: string
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 新增或保存
tags:
- 小程序应用------嘉俊
/api/login:
post:
consumes:
- application/json
description: 登入
description: 手机号注册
parameters:
- description: 用户名、密码
- description: 用户名、验证
in: body
name: req
required: true
@@ -261,9 +569,39 @@ paths:
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 登陆
summary: 手机号注册
tags:
- ADMIN
/api/qiniuyun/upload:
post:
consumes:
- application/json
description: 七牛云-七牛云上传
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.ImgReqUpload'
produces:
- application/json
responses:
"200":
description: success
schema:
type: string
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 七牛云上传
tags:
- 七牛云
/api/qualification/bank/save:
post:
consumes:
@@ -796,6 +1134,36 @@ paths:
summary: 修改角色状态
tags:
- ADMIN-权限管理
/api/sms:
post:
consumes:
- application/json
description: 短信-短信发送
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.SmsReq'
produces:
- application/json
responses:
"200":
description: success
schema:
type: string
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 短信发送
tags:
- 短信
securityDefinitions:
MasterID:
in: header


Chargement…
Annuler
Enregistrer