|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116 |
- definitions:
- 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.BindAdminRoleReq:
- properties:
- adm_id:
- type: integer
- role_ids:
- items:
- type: integer
- type: array
- required:
- - adm_id
- type: object
- md.DataCenterGenerateDataCommReq:
- properties:
- id:
- example: 列表id
- type: string
- type: object
- md.DataCenterGenerateDataData:
- properties:
- adv_name:
- example: 广告位
- type: string
- agent_revenue:
- example: 代理收益(元)
- type: string
- agreement_sharing:
- example: 协议分成(元)
- type: string
- agreement_sharing_total:
- example: 协议总分成(元)
- type: string
- click_count:
- example: 现-点击量
- type: string
- click_rate:
- example: 现-点击率
- type: string
- commission_retention:
- example: 佣金留存(元)
- type: string
- date:
- example: 日期
- type: string
- ecpm:
- example: '''现-ecpm(元)'
- type: string
- exposure_count:
- example: 现-曝光量
- type: string
- extra_revenue:
- example: 额外收益(元)
- type: string
- id:
- example: id
- type: string
- is_generate_report:
- example: 是否已生成报表(0:未 1:已)
- type: string
- media_revenue:
- example: 媒体收益(元)
- type: string
- name:
- example: 名称
- type: string
- old_click_count:
- example: 原-点击量
- type: string
- old_click_rate:
- example: 原-点击率
- type: string
- old_ecpm:
- example: '''原-ecpm(元)'
- type: string
- old_exposure_count:
- example: 原-曝光量
- type: string
- platform:
- example: 平台名称
- type: string
- platform_retention:
- example: 平台留存(元)
- type: string
- price_adjustment_retention:
- example: 调价留存(元)
- type: string
- state:
- example: 状态id
- type: string
- type: object
- md.DataCenterGenerateDataDetailAgentReward:
- properties:
- account:
- type: string
- agent_revenue:
- example: 代理收益(元)
- type: string
- agent_revenue_rate:
- example: 代理收益百分比
- type: string
- extra_revenue:
- example: 额外收益(元)
- type: string
- extra_revenue_rate:
- example: '''额外收益百分比'
- type: string
- name:
- type: string
- type: object
- md.DataCenterGenerateDataDetailData:
- properties:
- agent_revenue_rate:
- example: 代理收益百分比
- type: string
- agent_reward:
- items:
- $ref: '#/definitions/md.DataCenterGenerateDataDetailAgentReward'
- type: array
- agreement_sharing_rate:
- example: 协议分成百分比
- type: string
- commission_retention_rate:
- example: 佣金留存百分比
- type: string
- create_at:
- type: string
- extra_revenue_rate:
- example: 额外收益百分比
- type: string
- media_revenue_rate:
- example: 媒体收益百分比
- type: string
- platform_retention_rate:
- example: 平台留存百分比
- type: string
- update_at:
- type: string
- type: object
- md.DataCenterGenerateDataReq:
- properties:
- end_time:
- type: string
- limit:
- type: string
- name:
- type: string
- page:
- type: string
- platform:
- type: string
- start_time:
- type: string
- state:
- type: string
- type: object
- md.DataCenterGenerateDataRes:
- properties:
- list:
- items:
- $ref: '#/definitions/md.DataCenterGenerateDataData'
- type: array
- platform:
- items:
- $ref: '#/definitions/md.SelectData'
- type: array
- state:
- items:
- $ref: '#/definitions/md.SelectData'
- type: array
- total:
- type: integer
- type: object
- md.DataCenterOriginalDataData:
- properties:
- adv_name:
- example: 广告位
- type: string
- click_count:
- example: 点击量
- type: string
- click_rate:
- example: 点击率
- type: string
- date:
- example: 日期
- type: string
- ecpm:
- example: '''ecpm(元)'
- type: string
- exposure_count:
- example: 曝光量
- type: string
- exposure_rate:
- example: 曝光率
- type: string
- id:
- example: id
- type: string
- is_apply:
- example: 是否已应用
- type: string
- name:
- example: 名称
- type: string
- platform:
- example: 平台名称
- type: string
- publisher_income:
- example: 总收益(元)
- type: string
- req_succ_count:
- example: 拉取量
- type: string
- state:
- example: 状态id
- type: string
- type: object
- md.DataCenterOriginalDataReq:
- properties:
- end_time:
- type: string
- limit:
- type: string
- name:
- type: string
- page:
- type: string
- platform:
- type: string
- start_time:
- type: string
- state:
- type: string
- type: object
- md.DataCenterOriginalDataRes:
- properties:
- list:
- items:
- $ref: '#/definitions/md.DataCenterOriginalDataData'
- type: array
- platform:
- items:
- $ref: '#/definitions/md.SelectData'
- type: array
- state:
- items:
- $ref: '#/definitions/md.SelectData'
- type: array
- total:
- type: integer
- type: object
- md.LoginInfoResponse:
- properties:
- adm_id:
- description: 管理员id
- type: integer
- create_at:
- type: string
- is_super_administrator:
- description: 是否为超级管理员(0:否 1:是)
- type: integer
- memo:
- example: 备注信息
- type: string
- update_at:
- type: string
- username:
- example: 登录账号
- type: string
- 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.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.SmsDetail:
- properties:
- create_at:
- example: 创建时间
- type: string
- id:
- type: integer
- phone:
- example: 接收号码
- type: string
- state_zh:
- example: 发送状态
- type: string
- type: object
- md.SmsDetailReq:
- properties:
- limit:
- type: integer
- page:
- type: integer
- uuid:
- example: 站长ID
- type: string
- type: object
- md.SmsDetailResp:
- properties:
- list:
- items:
- $ref: '#/definitions/md.SmsDetail'
- type: array
- total:
- type: integer
- type: object
- md.SmsList:
- properties:
- name:
- example: 站长名称
- type: string
- num:
- description: 短信条数
- type: integer
- uuid:
- example: 站长ID
- type: string
- type: object
- md.SmsListReq:
- properties:
- limit:
- type: integer
- name:
- example: 站长名称
- type: string
- page:
- type: integer
- uuid:
- example: 站长ID
- type: string
- type: object
- md.SmsListResp:
- properties:
- list:
- items:
- $ref: '#/definitions/md.SmsList'
- type: array
- total:
- type: integer
- 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
- host: localhost:1001 or 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/dataCenter/generate/data/detail:
- 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.DataCenterGenerateDataCommReq'
- produces:
- - application/json
- responses:
- "200":
- description: '具体看返回内容 '
- schema:
- $ref: '#/definitions/md.DataCenterGenerateDataDetailData'
- "400":
- description: 具体错误
- schema:
- $ref: '#/definitions/md.Response'
- summary: 分成数据-详情
- tags:
- - 数据中心
- /api/dataCenter/generate/data/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.DataCenterGenerateDataReq'
- produces:
- - application/json
- responses:
- "200":
- description: 具体看返回内容 这是data里面的数据
- schema:
- $ref: '#/definitions/md.DataCenterGenerateDataRes'
- "400":
- description: 具体错误
- schema:
- $ref: '#/definitions/md.Response'
- summary: 分成数据-列表
- tags:
- - 数据中心
- /api/dataCenter/original/data/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.DataCenterOriginalDataReq'
- produces:
- - application/json
- responses:
- "200":
- description: 具体看返回内容 这是data里面的数据
- schema:
- $ref: '#/definitions/md.DataCenterOriginalDataRes'
- "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/loginInfo:
- get:
- 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.LoginInfoResponse'
- "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/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:
- - 权限管理
- /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.UpdateRoleStateReq'
- produces:
- - application/json
- responses:
- "200":
- description: success
- schema:
- type: string
- "400":
- description: 具体错误
- schema:
- $ref: '#/definitions/md.Response'
- summary: 修改角色状态
- tags:
- - 权限管理
- /api/smsCenter/detail:
- 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.SmsDetailReq'
- produces:
- - application/json
- responses:
- "200":
- description: 具体看返回内容 这是data里面的数据
- schema:
- $ref: '#/definitions/md.SmsDetailResp'
- "400":
- description: 具体错误
- schema:
- $ref: '#/definitions/md.Response'
- summary: 详情
- tags:
- - 短信中心
- /api/smsCenter/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.SmsListReq'
- produces:
- - application/json
- responses:
- "200":
- description: 具体看返回内容 这是data里面的数据
- schema:
- $ref: '#/definitions/md.SmsListResp'
- "400":
- description: 具体错误
- schema:
- $ref: '#/definitions/md.Response'
- summary: 列表
- tags:
- - 短信中心
- /api/smsCenter/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.SmsDetailReq'
- 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"
|