definitions: hdl.WxOpenThirdPartyAppList: properties: aes_key: type: string app_secret: type: string appid: type: string component_access_token: type: string component_verify_ticket: type: string create_at: type: string id: type: integer token: type: string update_at: type: string uuid: type: integer type: object md.AddAdminReq: properties: memo: type: string password: type: string username: type: string required: - password - username type: object md.AddRoleReq: properties: memo: type: string name: type: string required: - memo - name type: object md.AdminListReq: properties: limit: type: integer page: type: integer state: type: integer username: type: string type: object md.AgentQualificationBankData: properties: agent_id: example: 代理id type: string bank: example: 开户银行 type: string bank_branch: example: 开户银行分行 type: string bank_no: example: 银行卡号 type: string company_name: example: 公司名称 type: string currency_conf: example: 结算币种 0人民币 type: string id: example: id type: string kind: example: 类型(1:企业 2:个人) type: string licence: example: 开户许可证 type: string memo: example: 备注 审核时填写的 type: string state: example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) type: string unified_social_credit_code: example: 统一社会信用代码 type: string type: object md.AgentQualificationBankRes: properties: currency_conf: items: $ref: '#/definitions/md.SelectData' type: array list: items: $ref: '#/definitions/md.AgentQualificationBankData' type: array state: items: $ref: '#/definitions/md.SelectData' type: array total: type: integer type: items: $ref: '#/definitions/md.SelectData' type: array type: object md.AgentQualificationContactData: properties: address: example: 联系地址 type: string agent_id: example: 代理id type: string company_name: example: 公司名称 type: string email: example: 邮箱地址 type: string id: example: id type: string kind: example: 类型(1:企业 2:个人) type: string memo: example: 备注 审核时填写的 type: string name: example: 联系人 type: string phone: example: 联系电话 type: string state: example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) type: string type: object md.AgentQualificationContactRes: properties: list: items: $ref: '#/definitions/md.AgentQualificationContactData' type: array state: items: $ref: '#/definitions/md.SelectData' type: array total: type: integer type: object md.AgentQualificationEnterpriseAuditReq: properties: agent_id: type: string memo: type: string state: type: string type: object md.AgentQualificationEnterpriseData: properties: agent_id: example: 代理id type: string business_license_address: example: 营业执照地址 type: string business_license_img_url: example: 营业执照照片 type: string certificate_first_type: example: 证件类型 1级类目id type: string certificate_type: example: 证件类型 2级类目id type: string certificate_validity: example: 证件有效期 type: string company_abbreviation: example: 公司简称 type: string company_name: example: 公司名称 type: string country_region: example: 国家地区 type: string country_region_id: example: 国家地区id type: string id: example: 状态选择 type: string kind: example: 类型(1:企业 2:个人) type: string legal_representative: example: 法定代表人 type: string memo: example: 备注 审核时填写的 type: string registered_address: example: 注册地址 type: string registered_address_city_id: example: 注册地址-市id type: string registered_address_country_id: example: 注册地址-国家id type: string registered_address_county_id: example: 注册地址-县/区id type: string registered_address_province_id: example: 册地址-省份id type: string state: example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) type: string unified_social_credit_code: example: 统一社会信用代码 type: string uuid: example: 站长id type: string type: object md.AgentQualificationEnterpriseReq: properties: limit: type: string name: type: string page: type: string state: type: string type: object md.AgentQualificationEnterpriseRes: properties: list: items: $ref: '#/definitions/md.AgentQualificationEnterpriseData' type: array state: items: $ref: '#/definitions/md.SelectData' type: array total: type: integer type: items: $ref: '#/definitions/md.SelectData' type: array type: object md.AppletAddReq: properties: appid: example: 授权小程序appid type: string logo: example: 小程序logo type: string name: example: 小程序名称 type: string original_id: example: 授权小程序原始id type: string required: - appid - logo - name - original_id 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 medium_id: example: 媒体id 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 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.AppletApplicationAdSpaceMediumListData: properties: account: example: 账号 type: string contact_name: example: 联系人 type: string count: example: 广告位数量 type: string id: example: id type: string medium_id: example: 媒体id type: string name: example: 名称 type: string phone: example: 联系电话 type: string type: object md.AppletApplicationAdSpaceMediumListReq: properties: account: example: 媒体账号 type: string limit: type: string name: example: 媒体名称 type: string page: type: string type: object md.AppletApplicationAdSpaceMediumListRes: properties: list: items: $ref: '#/definitions/md.AppletApplicationAdSpaceMediumListData' type: array total: type: integer type: object md.AppletApplicationAdSpaceSaveReq: properties: id: example: id 多个逗号隔开 type: string memo: example: 备注 type: string state: 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 medium_id: example: 媒体id 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.AppletApplicationMediumListData: properties: account: example: 账号 type: string contact_name: example: 联系人 type: string count: example: 应用数量 type: string id: example: id type: string medium_id: example: 媒体id type: string name: example: 名称 type: string phone: example: 联系电话 type: string type: object md.AppletApplicationMediumListReq: properties: account: example: 媒体账号 type: string limit: type: string name: example: 媒体名称 type: string page: type: string type: object md.AppletApplicationMediumListRes: properties: list: items: $ref: '#/definitions/md.AppletApplicationMediumListData' type: array total: type: integer type: object md.AppletApplicationSaveReq: properties: id: example: id 多个逗号隔开 type: string memo: example: 备注 type: string state: example: 审核状态 type: string type: object md.AppletUpdateReq: properties: id: type: integer logo: example: 小程序logo type: string name: example: 小程序名称 type: string required: - id - logo - name type: object md.BindAdminRoleReq: properties: adm_id: type: integer role_ids: items: type: integer type: array required: - adm_id type: object md.LoginReq: properties: code: example: 验证码 type: string password: example: 登录密码 type: string username: example: 登录账号 type: string required: - password - username type: object md.LoginResponse: properties: token: type: string type: object md.MediumQualificationContactData: properties: address: example: 联系地址 type: string company_name: example: 公司名称 type: string email: example: 邮箱地址 type: string id: example: id type: string kind: example: 类型(1:企业 2:个人) type: string medium_id: example: 代理id type: string memo: example: 备注 审核时填写的 type: string name: example: 联系人 type: string phone: example: 联系电话 type: string state: example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) type: string type: object md.MediumQualificationContactRes: properties: list: items: $ref: '#/definitions/md.MediumQualificationContactData' type: array state: items: $ref: '#/definitions/md.SelectData' type: array total: type: integer type: object md.MediumQualificationEnterpriseAuditReq: properties: medium_id: type: string memo: type: string state: type: string type: object md.MediumQualificationEnterpriseData: properties: business_license_address: example: 营业执照地址 type: string business_license_img_url: example: 营业执照照片 type: string certificate_first_type: example: 证件类型 1级类目id type: string certificate_type: example: 证件类型 2级类目id type: string certificate_validity: example: 证件有效期 type: string company_abbreviation: example: 公司简称 type: string company_name: example: 公司名称 type: string country_region: example: 国家地区 type: string country_region_id: example: 国家地区id type: string id: example: 状态选择 type: string kind: example: 类型(1:企业 2:个人) type: string legal_representative: example: 法定代表人 type: string medium_id: example: 代理id type: string memo: example: 备注 审核时填写的 type: string registered_address: example: 注册地址 type: string registered_address_city_id: example: 注册地址-市id type: string registered_address_country_id: example: 注册地址-国家id type: string registered_address_county_id: example: 注册地址-县/区id type: string registered_address_province_id: example: 册地址-省份id type: string state: example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) type: string unified_social_credit_code: example: 统一社会信用代码 type: string uuid: example: 站长id type: string type: object md.MediumQualificationEnterpriseReq: properties: limit: type: string name: type: string page: type: string state: type: string type: object md.MediumQualificationEnterpriseRes: properties: list: items: $ref: '#/definitions/md.MediumQualificationEnterpriseData' type: array state: items: $ref: '#/definitions/md.SelectData' type: array total: type: integer type: items: $ref: '#/definitions/md.SelectData' type: array type: object md.QiNiuBucketRegion: properties: region_domain: example: 区域域名 type: string region_id: example: 区域id type: string region_name: example: 区域名称 type: string type: object md.RegisterForAgentReq: properties: code: example: 验证码 type: string password: example: 登录密码 type: string phone: example: 登录账号 type: string required: - password - phone type: object md.RegisterForMediumReq: properties: code: example: 验证码 type: string password: example: 登录密码 type: string phone: example: 登录账号 type: string required: - password - phone type: object md.Response: properties: code: example: 响应码 type: string data: description: 内容 msg: example: 具体错误原因 type: string type: object md.RoleBindPermissionGroupReq: properties: permission_ids: items: type: integer type: array role_id: type: integer required: - role_id type: object md.SelectData: properties: name: example: 名称 type: string value: example: 值 type: string type: object md.SetMobReq: properties: mob_app_key: type: string mob_app_secret: type: string type: object md.SetOssReq: properties: file_access_key: example: 对象存储AccessToken type: string file_bucket: example: 对象存储bucket(空间) type: string file_bucket_host: example: 对象存储域名 type: string file_bucket_region: example: 文件所属区域 type: string file_secret_key: example: 对象存储SecretToken type: string required: - file_access_key - file_bucket - file_bucket_host - file_bucket_region - file_secret_key type: object md.SetOssResp: properties: data: allOf: - $ref: '#/definitions/md.SetOssReq' description: 数据内容 qi_niu_bucket_region_list: description: 七牛云存储区域列表 items: $ref: '#/definitions/md.QiNiuBucketRegion' type: array type: object md.ShareIndexResp: properties: agent_domain: example: 代理分享地址 type: string master_id: type: string medium_domain: example: 媒体分享地址 type: string type: object md.UpdateAdminReq: properties: adm_id: type: integer memo: type: string password: type: string username: type: string required: - adm_id - password - username type: object md.UpdateAdminStateReq: properties: adm_id: type: integer state: type: integer required: - adm_id - state type: object md.UpdateRoleReq: properties: memo: type: string name: type: string role_id: type: integer required: - memo - name - role_id type: object md.UpdateRoleStateReq: properties: role_id: type: integer state: type: integer required: - role_id - state type: object md.WxOpenGetResp: properties: aes_key: example: 消息加解密Key type: string app_secret: example: appSecret type: string appid: example: appid type: string token: example: 消息校验Token type: string wx_open_applet_server_domain: example: 微信开放平台-小程序服务器域名 type: string wx_open_authorization_event_receiving_configuration: example: 微信开放平台-授权事件接收配置 type: string wx_open_domain_of_the_initiating_page_for_login_authorization: example: 微信开放平台-登录授权的发起页域名 type: string wx_open_message_and_event_reception_configuration: example: 微信开放平台-消息与事件接收配置 type: string wx_open_white_list_ip: example: 微信开放平台-白名单ip type: string type: object md.WxOpenSetReq: properties: aes_key: example: 消息加解密Key type: string app_secret: example: appSecret type: string appid: example: appid type: string token: example: 消息校验Token type: string required: - aes_key - app_secret - appid - token type: object host: localhost:1002 or xxxx.advertisement.dengbiao.top info: contact: email: 1239118001@qq.com name: dengbiao url: http://www.swagger.io/support description: 站长后台接口 license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html termsOfService: http://swagger.io/terms/ title: 广告联盟-站长平台 version: "1.0" paths: /api/agentQualification/bank: 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.AgentQualificationEnterpriseReq' produces: - application/json responses: "200": description: 具体看返回内容 这是data里面的数据 schema: $ref: '#/definitions/md.AgentQualificationBankRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 银行资质 tags: - 渠道资质------嘉俊 /api/agentQualification/bank/audit: 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.AgentQualificationEnterpriseAuditReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 银行资质审核 tags: - 渠道资质------嘉俊 /api/agentQualification/contact: 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.AgentQualificationEnterpriseReq' produces: - application/json responses: "200": description: 具体看返回内容 这是data里面的数据 schema: $ref: '#/definitions/md.AgentQualificationContactRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 联系方式 tags: - 渠道资质------嘉俊 /api/agentQualification/contact/audit: 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.AgentQualificationEnterpriseAuditReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 联系方式审核 tags: - 渠道资质------嘉俊 /api/agentQualification/enterprise: 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.AgentQualificationEnterpriseReq' produces: - application/json responses: "200": description: 具体看返回内容 这是data里面的数据 schema: $ref: '#/definitions/md.AgentQualificationEnterpriseRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 主体资质 tags: - 渠道资质------嘉俊 /api/agentQualification/enterprise/audit: 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.AgentQualificationEnterpriseAuditReq' 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: 登入 parameters: - description: 用户名密码 in: body name: req required: true schema: $ref: '#/definitions/md.LoginReq' produces: - application/json responses: "200": description: token schema: $ref: '#/definitions/md.LoginResponse' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 登陆 tags: - 登录 /api/medium/applet/application/ad/space/audit: 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/medium/applet/application/ad/space/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.AppletApplicationAdSpaceMediumListReq' produces: - application/json responses: "200": description: 具体看返回内容---这是data里面的数据 schema: $ref: '#/definitions/md.AppletApplicationAdSpaceMediumListRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 媒体列表 tags: - 媒体中心------嘉俊 /api/medium/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.AppletApplicationAdSpaceListReq' produces: - application/json responses: "200": description: 具体看返回内容---这是data里面的数据 schema: $ref: '#/definitions/md.AppletApplicationAdSpaceListRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 广告位列表 tags: - 媒体中心------嘉俊 /api/medium/applet/application/audit: 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/medium/applet/application/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/medium/applet/application/medium/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.AppletApplicationMediumListReq' produces: - application/json responses: "200": description: 具体看返回内容---这是data里面的数据 schema: $ref: '#/definitions/md.AppletApplicationMediumListRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 媒体列表 tags: - 媒体中心------嘉俊 /api/mediumQualification/bank: post: responses: "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' /api/mediumQualification/bank/audit: 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.MediumQualificationEnterpriseAuditReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 银行资质审核 tags: - 媒体资质------嘉俊 /api/mediumQualification/contact: 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.MediumQualificationEnterpriseReq' produces: - application/json responses: "200": description: 具体看返回内容 这是data里面的数据 schema: $ref: '#/definitions/md.MediumQualificationContactRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 联系方式 tags: - 媒体资质------嘉俊 /api/mediumQualification/contact/audit: 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.MediumQualificationEnterpriseAuditReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 联系方式审核 tags: - 媒体资质------嘉俊 /api/mediumQualification/enterprise: 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.MediumQualificationEnterpriseReq' produces: - application/json responses: "200": description: 具体看返回内容 这是data里面的数据 schema: $ref: '#/definitions/md.MediumQualificationEnterpriseRes' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 主体资质 tags: - 媒体资质------嘉俊 /api/mediumQualification/enterprise/audit: 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.MediumQualificationEnterpriseAuditReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 主体资质审核 tags: - 媒体资质------嘉俊 /api/registerForAgent: post: consumes: - application/json description: 注册模块-渠道代理注册 parameters: - description: 用户名密码 in: body name: req required: true schema: $ref: '#/definitions/md.RegisterForAgentReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 渠道代理注册 tags: - 注册模块 /api/registerForMedium: post: consumes: - application/json description: 注册模块-媒体注册 parameters: - description: 用户名密码 in: body name: req required: true schema: $ref: '#/definitions/md.RegisterForMediumReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 媒体注册 tags: - 注册模块 /api/role/addAdmin: 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.AddAdminReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 新增管理员 tags: - 权限管理 /api/role/addRole: 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.AddRoleReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 添加角色 tags: - 权限管理 /api/role/adminInfo: get: consumes: - application/json description: 权限管理-管理员信息 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 管理员id in: query name: adm_id required: true type: string produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 管理员信息 tags: - 权限管理 /api/role/adminList: 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.AdminListReq' produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 管理员列表 tags: - 权限管理 /api/role/bindAdminRole/: 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.BindAdminRoleReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 管理员绑定角色 tags: - 权限管理 /api/role/deleteAdmin/{$adm_id}: delete: consumes: - application/json description: 权限管理-删除管理员 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 删除管理员 tags: - 权限管理 /api/role/deleteRole/{$id}: delete: 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.UpdateRoleStateReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 删除角色 tags: - 权限管理 /api/role/roleBindPermissionGroup: 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.RoleBindPermissionGroupReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 角色绑定权限组 tags: - 权限管理 /api/role/roleList: get: consumes: - application/json description: 权限管理-角色列表 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 角色列表 tags: - 权限管理 /api/role/updateAdmin: 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.UpdateAdminReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 修改管理员信息 tags: - 权限管理 /api/role/updateAdminState: 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.UpdateAdminStateReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 修改管理员状态 tags: - 权限管理 /api/role/updateRole: 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.UpdateRoleReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 修改角色 tags: - 权限管理 /api/role/updateRoleState: 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.UpdateRoleStateReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 修改角色状态 tags: - 权限管理 /api/setCenter/applet/add: 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.AppletAddReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 新增 tags: - 设置中心-小程序设置 /api/setCenter/applet/authorize: get: consumes: - application/json description: 设置中心-基础设置 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 微信授权界面url schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 设置中心-基础设置-微信三方应用获取 tags: - 设置中心 /api/setCenter/applet/list: get: consumes: - application/json description: 小程序设置-列表 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/hdl.WxOpenThirdPartyAppList' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 列表 tags: - 设置中心-小程序设置 /api/setCenter/applet/unauthorized: get: consumes: - application/json description: 设置中心-基础设置 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 设置中心-基础设置-微信三方应用获取 tags: - 设置中心 /api/setCenter/applet/update: 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.AppletUpdateReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 更新 tags: - 设置中心-小程序设置 /api/setCenter/basic/getOss: get: consumes: - application/json description: 基础设置-mob获取 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/md.SetOssResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: mob获取 tags: - 设置中心-基础设置 /api/setCenter/basic/setOss: post: consumes: - application/json description: 基础设置-mob设置 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 请求参数 in: body name: args required: true schema: $ref: '#/definitions/md.SetMobReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: mob设置 tags: - 设置中心-基础设置 /api/setCenter/basic/wxOpenGet: get: consumes: - application/json description: 基础设置-微信三方应用获取 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/md.WxOpenGetResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 微信三方应用获取 tags: - 设置中心-基础设置 /api/setCenter/basic/wxOpenSet: 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.WxOpenSetReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 微信三方应用设置 tags: - 设置中心-基础设置 /api/setCenter/share/index: get: consumes: - application/json description: 邀请链接界面接口 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/md.ShareIndexResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 邀请链接 tags: - 设置中心-邀请链接 /role/permissionGroupList: get: consumes: - application/json description: 权限管理-权限组列表 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 管理员id in: query name: adm_id required: true type: string produces: - application/json responses: "200": description: 具体看返回内容 schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 权限组列表 tags: - 权限管理 /v1/banner/delete/{$id}: delete: consumes: - application/json description: 小程序设置-删除 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 删除 tags: - 设置中心-小程序设置 securityDefinitions: MasterID: in: header name: MasterID type: apiKey swagger: "2.0"