广告平台(总站长使用)
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

swagger.yaml 26 KiB

4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
3ヶ月前
2ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
3ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
3ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
4ヶ月前
3ヶ月前
4ヶ月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116
  1. definitions:
  2. md.AddAdminReq:
  3. properties:
  4. memo:
  5. type: string
  6. password:
  7. type: string
  8. username:
  9. type: string
  10. required:
  11. - password
  12. - username
  13. type: object
  14. md.AddRoleReq:
  15. properties:
  16. memo:
  17. type: string
  18. name:
  19. type: string
  20. required:
  21. - memo
  22. - name
  23. type: object
  24. md.AdminListReq:
  25. properties:
  26. limit:
  27. type: integer
  28. page:
  29. type: integer
  30. state:
  31. type: integer
  32. username:
  33. type: string
  34. type: object
  35. md.BindAdminRoleReq:
  36. properties:
  37. adm_id:
  38. type: integer
  39. role_ids:
  40. items:
  41. type: integer
  42. type: array
  43. required:
  44. - adm_id
  45. type: object
  46. md.DataCenterGenerateDataCommReq:
  47. properties:
  48. id:
  49. example: 列表id
  50. type: string
  51. type: object
  52. md.DataCenterGenerateDataData:
  53. properties:
  54. adv_name:
  55. example: 广告位
  56. type: string
  57. agent_revenue:
  58. example: 代理收益(元)
  59. type: string
  60. agreement_sharing:
  61. example: 协议分成(元)
  62. type: string
  63. agreement_sharing_total:
  64. example: 协议总分成(元)
  65. type: string
  66. click_count:
  67. example: 现-点击量
  68. type: string
  69. click_rate:
  70. example: 现-点击率
  71. type: string
  72. commission_retention:
  73. example: 佣金留存(元)
  74. type: string
  75. date:
  76. example: 日期
  77. type: string
  78. ecpm:
  79. example: '''现-ecpm(元)'
  80. type: string
  81. exposure_count:
  82. example: 现-曝光量
  83. type: string
  84. extra_revenue:
  85. example: 额外收益(元)
  86. type: string
  87. id:
  88. example: id
  89. type: string
  90. is_generate_report:
  91. example: 是否已生成报表(0:未 1:已)
  92. type: string
  93. media_revenue:
  94. example: 媒体收益(元)
  95. type: string
  96. name:
  97. example: 名称
  98. type: string
  99. old_click_count:
  100. example: 原-点击量
  101. type: string
  102. old_click_rate:
  103. example: 原-点击率
  104. type: string
  105. old_ecpm:
  106. example: '''原-ecpm(元)'
  107. type: string
  108. old_exposure_count:
  109. example: 原-曝光量
  110. type: string
  111. platform:
  112. example: 平台名称
  113. type: string
  114. platform_retention:
  115. example: 平台留存(元)
  116. type: string
  117. price_adjustment_retention:
  118. example: 调价留存(元)
  119. type: string
  120. state:
  121. example: 状态id
  122. type: string
  123. type: object
  124. md.DataCenterGenerateDataDetailAgentReward:
  125. properties:
  126. account:
  127. type: string
  128. agent_revenue:
  129. example: 代理收益(元)
  130. type: string
  131. agent_revenue_rate:
  132. example: 代理收益百分比
  133. type: string
  134. extra_revenue:
  135. example: 额外收益(元)
  136. type: string
  137. extra_revenue_rate:
  138. example: '''额外收益百分比'
  139. type: string
  140. name:
  141. type: string
  142. type: object
  143. md.DataCenterGenerateDataDetailData:
  144. properties:
  145. agent_revenue_rate:
  146. example: 代理收益百分比
  147. type: string
  148. agent_reward:
  149. items:
  150. $ref: '#/definitions/md.DataCenterGenerateDataDetailAgentReward'
  151. type: array
  152. agreement_sharing_rate:
  153. example: 协议分成百分比
  154. type: string
  155. commission_retention_rate:
  156. example: 佣金留存百分比
  157. type: string
  158. create_at:
  159. type: string
  160. extra_revenue_rate:
  161. example: 额外收益百分比
  162. type: string
  163. media_revenue_rate:
  164. example: 媒体收益百分比
  165. type: string
  166. platform_retention_rate:
  167. example: 平台留存百分比
  168. type: string
  169. update_at:
  170. type: string
  171. type: object
  172. md.DataCenterGenerateDataReq:
  173. properties:
  174. end_time:
  175. type: string
  176. limit:
  177. type: string
  178. name:
  179. type: string
  180. page:
  181. type: string
  182. platform:
  183. type: string
  184. start_time:
  185. type: string
  186. state:
  187. type: string
  188. type: object
  189. md.DataCenterGenerateDataRes:
  190. properties:
  191. list:
  192. items:
  193. $ref: '#/definitions/md.DataCenterGenerateDataData'
  194. type: array
  195. platform:
  196. items:
  197. $ref: '#/definitions/md.SelectData'
  198. type: array
  199. state:
  200. items:
  201. $ref: '#/definitions/md.SelectData'
  202. type: array
  203. total:
  204. type: integer
  205. type: object
  206. md.DataCenterOriginalDataData:
  207. properties:
  208. adv_name:
  209. example: 广告位
  210. type: string
  211. click_count:
  212. example: 点击量
  213. type: string
  214. click_rate:
  215. example: 点击率
  216. type: string
  217. date:
  218. example: 日期
  219. type: string
  220. ecpm:
  221. example: '''ecpm(元)'
  222. type: string
  223. exposure_count:
  224. example: 曝光量
  225. type: string
  226. exposure_rate:
  227. example: 曝光率
  228. type: string
  229. id:
  230. example: id
  231. type: string
  232. is_apply:
  233. example: 是否已应用
  234. type: string
  235. name:
  236. example: 名称
  237. type: string
  238. platform:
  239. example: 平台名称
  240. type: string
  241. publisher_income:
  242. example: 总收益(元)
  243. type: string
  244. req_succ_count:
  245. example: 拉取量
  246. type: string
  247. state:
  248. example: 状态id
  249. type: string
  250. type: object
  251. md.DataCenterOriginalDataReq:
  252. properties:
  253. end_time:
  254. type: string
  255. limit:
  256. type: string
  257. name:
  258. type: string
  259. page:
  260. type: string
  261. platform:
  262. type: string
  263. start_time:
  264. type: string
  265. state:
  266. type: string
  267. type: object
  268. md.DataCenterOriginalDataRes:
  269. properties:
  270. list:
  271. items:
  272. $ref: '#/definitions/md.DataCenterOriginalDataData'
  273. type: array
  274. platform:
  275. items:
  276. $ref: '#/definitions/md.SelectData'
  277. type: array
  278. state:
  279. items:
  280. $ref: '#/definitions/md.SelectData'
  281. type: array
  282. total:
  283. type: integer
  284. type: object
  285. md.LoginInfoResponse:
  286. properties:
  287. adm_id:
  288. description: 管理员id
  289. type: integer
  290. create_at:
  291. type: string
  292. is_super_administrator:
  293. description: 是否为超级管理员(0:否 1:是)
  294. type: integer
  295. memo:
  296. example: 备注信息
  297. type: string
  298. update_at:
  299. type: string
  300. username:
  301. example: 登录账号
  302. type: string
  303. type: object
  304. md.LoginReq:
  305. properties:
  306. code:
  307. example: 验证码
  308. type: string
  309. password:
  310. example: 登录密码
  311. type: string
  312. username:
  313. example: 登录账号
  314. type: string
  315. required:
  316. - password
  317. - username
  318. type: object
  319. md.LoginResponse:
  320. properties:
  321. token:
  322. type: string
  323. type: object
  324. md.Response:
  325. properties:
  326. code:
  327. example: 响应码
  328. type: string
  329. data:
  330. description: 内容
  331. msg:
  332. example: 具体错误原因
  333. type: string
  334. type: object
  335. md.RoleBindPermissionGroupReq:
  336. properties:
  337. permission_ids:
  338. items:
  339. type: integer
  340. type: array
  341. role_id:
  342. type: integer
  343. required:
  344. - role_id
  345. type: object
  346. md.SelectData:
  347. properties:
  348. name:
  349. example: 名称
  350. type: string
  351. value:
  352. example: 值
  353. type: string
  354. type: object
  355. md.SmsDetail:
  356. properties:
  357. create_at:
  358. example: 创建时间
  359. type: string
  360. id:
  361. type: integer
  362. phone:
  363. example: 接收号码
  364. type: string
  365. state_zh:
  366. example: 发送状态
  367. type: string
  368. type: object
  369. md.SmsDetailReq:
  370. properties:
  371. limit:
  372. type: integer
  373. page:
  374. type: integer
  375. uuid:
  376. example: 站长ID
  377. type: string
  378. type: object
  379. md.SmsDetailResp:
  380. properties:
  381. list:
  382. items:
  383. $ref: '#/definitions/md.SmsDetail'
  384. type: array
  385. total:
  386. type: integer
  387. type: object
  388. md.SmsList:
  389. properties:
  390. name:
  391. example: 站长名称
  392. type: string
  393. num:
  394. description: 短信条数
  395. type: integer
  396. uuid:
  397. example: 站长ID
  398. type: string
  399. type: object
  400. md.SmsListReq:
  401. properties:
  402. limit:
  403. type: integer
  404. name:
  405. example: 站长名称
  406. type: string
  407. page:
  408. type: integer
  409. uuid:
  410. example: 站长ID
  411. type: string
  412. type: object
  413. md.SmsListResp:
  414. properties:
  415. list:
  416. items:
  417. $ref: '#/definitions/md.SmsList'
  418. type: array
  419. total:
  420. type: integer
  421. type: object
  422. md.UpdateAdminReq:
  423. properties:
  424. adm_id:
  425. type: integer
  426. memo:
  427. type: string
  428. password:
  429. type: string
  430. username:
  431. type: string
  432. required:
  433. - adm_id
  434. - password
  435. - username
  436. type: object
  437. md.UpdateAdminStateReq:
  438. properties:
  439. adm_id:
  440. type: integer
  441. state:
  442. type: integer
  443. required:
  444. - adm_id
  445. - state
  446. type: object
  447. md.UpdateRoleReq:
  448. properties:
  449. memo:
  450. type: string
  451. name:
  452. type: string
  453. role_id:
  454. type: integer
  455. required:
  456. - memo
  457. - name
  458. - role_id
  459. type: object
  460. md.UpdateRoleStateReq:
  461. properties:
  462. role_id:
  463. type: integer
  464. state:
  465. type: integer
  466. required:
  467. - role_id
  468. - state
  469. type: object
  470. host: localhost:1001 or advertisement.dengbiao.top
  471. info:
  472. contact:
  473. email: 1239118001@qq.com
  474. name: dengbiao
  475. url: http://www.swagger.io/support
  476. description: 总站长后台接口
  477. license:
  478. name: Apache 2.0
  479. url: http://www.apache.org/licenses/LICENSE-2.0.html
  480. termsOfService: http://swagger.io/terms/
  481. title: 广告联盟-总站长平台
  482. version: "1.0"
  483. paths:
  484. /api/dataCenter/generate/data/detail:
  485. post:
  486. consumes:
  487. - application/json
  488. description: 数据中心-分成数据-详情
  489. parameters:
  490. - description: 验证参数Bearer和token空格拼接
  491. in: header
  492. name: Authorization
  493. required: true
  494. type: string
  495. - description: 请求参数
  496. in: body
  497. name: args
  498. required: true
  499. schema:
  500. $ref: '#/definitions/md.DataCenterGenerateDataCommReq'
  501. produces:
  502. - application/json
  503. responses:
  504. "200":
  505. description: '具体看返回内容 '
  506. schema:
  507. $ref: '#/definitions/md.DataCenterGenerateDataDetailData'
  508. "400":
  509. description: 具体错误
  510. schema:
  511. $ref: '#/definitions/md.Response'
  512. summary: 分成数据-详情
  513. tags:
  514. - 数据中心
  515. /api/dataCenter/generate/data/list:
  516. post:
  517. consumes:
  518. - application/json
  519. description: 数据中心-分成数据-列表
  520. parameters:
  521. - description: 验证参数Bearer和token空格拼接
  522. in: header
  523. name: Authorization
  524. required: true
  525. type: string
  526. - description: 请求参数
  527. in: body
  528. name: args
  529. required: true
  530. schema:
  531. $ref: '#/definitions/md.DataCenterGenerateDataReq'
  532. produces:
  533. - application/json
  534. responses:
  535. "200":
  536. description: 具体看返回内容 这是data里面的数据
  537. schema:
  538. $ref: '#/definitions/md.DataCenterGenerateDataRes'
  539. "400":
  540. description: 具体错误
  541. schema:
  542. $ref: '#/definitions/md.Response'
  543. summary: 分成数据-列表
  544. tags:
  545. - 数据中心
  546. /api/dataCenter/original/data/list:
  547. post:
  548. consumes:
  549. - application/json
  550. description: 数据中心-原始数据-列表
  551. parameters:
  552. - description: 验证参数Bearer和token空格拼接
  553. in: header
  554. name: Authorization
  555. required: true
  556. type: string
  557. - description: 请求参数
  558. in: body
  559. name: args
  560. required: true
  561. schema:
  562. $ref: '#/definitions/md.DataCenterOriginalDataReq'
  563. produces:
  564. - application/json
  565. responses:
  566. "200":
  567. description: 具体看返回内容 这是data里面的数据
  568. schema:
  569. $ref: '#/definitions/md.DataCenterOriginalDataRes'
  570. "400":
  571. description: 具体错误
  572. schema:
  573. $ref: '#/definitions/md.Response'
  574. summary: 原始数据-列表
  575. tags:
  576. - 数据中心
  577. /api/login:
  578. post:
  579. consumes:
  580. - application/json
  581. description: 登入
  582. parameters:
  583. - description: 用户名密码
  584. in: body
  585. name: req
  586. required: true
  587. schema:
  588. $ref: '#/definitions/md.LoginReq'
  589. produces:
  590. - application/json
  591. responses:
  592. "200":
  593. description: token
  594. schema:
  595. $ref: '#/definitions/md.LoginResponse'
  596. "400":
  597. description: 具体错误
  598. schema:
  599. $ref: '#/definitions/md.Response'
  600. summary: 登陆
  601. tags:
  602. - 登录注册
  603. /api/loginInfo:
  604. get:
  605. consumes:
  606. - application/json
  607. description: 登录信息
  608. parameters:
  609. - description: 用户名密码
  610. in: body
  611. name: req
  612. required: true
  613. schema:
  614. $ref: '#/definitions/md.LoginReq'
  615. produces:
  616. - application/json
  617. responses:
  618. "200":
  619. description: token
  620. schema:
  621. $ref: '#/definitions/md.LoginInfoResponse'
  622. "400":
  623. description: 具体错误
  624. schema:
  625. $ref: '#/definitions/md.Response'
  626. summary: 登录信息
  627. tags:
  628. - 登录注册
  629. /api/role/addAdmin:
  630. post:
  631. consumes:
  632. - application/json
  633. description: 权限管理-新增管理员
  634. parameters:
  635. - description: 验证参数Bearer和token空格拼接
  636. in: header
  637. name: Authorization
  638. required: true
  639. type: string
  640. - description: 请求参数
  641. in: body
  642. name: args
  643. required: true
  644. schema:
  645. $ref: '#/definitions/md.AddAdminReq'
  646. produces:
  647. - application/json
  648. responses:
  649. "200":
  650. description: success
  651. schema:
  652. type: string
  653. "400":
  654. description: 具体错误
  655. schema:
  656. $ref: '#/definitions/md.Response'
  657. summary: 新增管理员
  658. tags:
  659. - 权限管理
  660. /api/role/addRole:
  661. post:
  662. consumes:
  663. - application/json
  664. description: 权限管理-添加角色
  665. parameters:
  666. - description: 验证参数Bearer和token空格拼接
  667. in: header
  668. name: Authorization
  669. required: true
  670. type: string
  671. - description: 请求参数
  672. in: body
  673. name: args
  674. required: true
  675. schema:
  676. $ref: '#/definitions/md.AddRoleReq'
  677. produces:
  678. - application/json
  679. responses:
  680. "200":
  681. description: success
  682. schema:
  683. type: string
  684. "400":
  685. description: 具体错误
  686. schema:
  687. $ref: '#/definitions/md.Response'
  688. summary: 添加角色
  689. tags:
  690. - 权限管理
  691. /api/role/adminInfo:
  692. get:
  693. consumes:
  694. - application/json
  695. description: 权限管理-管理员信息
  696. parameters:
  697. - description: 验证参数Bearer和token空格拼接
  698. in: header
  699. name: Authorization
  700. required: true
  701. type: string
  702. - description: 管理员id
  703. in: query
  704. name: adm_id
  705. required: true
  706. type: string
  707. produces:
  708. - application/json
  709. responses:
  710. "200":
  711. description: 具体看返回内容
  712. schema:
  713. type: string
  714. "400":
  715. description: 具体错误
  716. schema:
  717. $ref: '#/definitions/md.Response'
  718. summary: 管理员信息
  719. tags:
  720. - 权限管理
  721. /api/role/adminList:
  722. post:
  723. consumes:
  724. - application/json
  725. description: 权限管理-管理员列表
  726. parameters:
  727. - description: 验证参数Bearer和token空格拼接
  728. in: header
  729. name: Authorization
  730. required: true
  731. type: string
  732. - description: 请求参数
  733. in: body
  734. name: args
  735. required: true
  736. schema:
  737. $ref: '#/definitions/md.AdminListReq'
  738. produces:
  739. - application/json
  740. responses:
  741. "200":
  742. description: 具体看返回内容
  743. schema:
  744. type: string
  745. "400":
  746. description: 具体错误
  747. schema:
  748. $ref: '#/definitions/md.Response'
  749. summary: 管理员列表
  750. tags:
  751. - 权限管理
  752. /api/role/bindAdminRole/:
  753. post:
  754. consumes:
  755. - application/json
  756. description: 权限管理-管理员绑定角色
  757. parameters:
  758. - description: 验证参数Bearer和token空格拼接
  759. in: header
  760. name: Authorization
  761. required: true
  762. type: string
  763. - description: 请求参数
  764. in: body
  765. name: args
  766. required: true
  767. schema:
  768. $ref: '#/definitions/md.BindAdminRoleReq'
  769. produces:
  770. - application/json
  771. responses:
  772. "200":
  773. description: success
  774. schema:
  775. type: string
  776. "400":
  777. description: 具体错误
  778. schema:
  779. $ref: '#/definitions/md.Response'
  780. summary: 管理员绑定角色
  781. tags:
  782. - 权限管理
  783. /api/role/deleteAdmin/{$adm_id}:
  784. delete:
  785. consumes:
  786. - application/json
  787. description: 权限管理-删除管理员
  788. parameters:
  789. - description: 验证参数Bearer和token空格拼接
  790. in: header
  791. name: Authorization
  792. required: true
  793. type: string
  794. produces:
  795. - application/json
  796. responses:
  797. "200":
  798. description: success
  799. schema:
  800. type: string
  801. "400":
  802. description: 具体错误
  803. schema:
  804. $ref: '#/definitions/md.Response'
  805. summary: 删除管理员
  806. tags:
  807. - 权限管理
  808. /api/role/deleteRole/{$id}:
  809. delete:
  810. consumes:
  811. - application/json
  812. description: 权限管理-删除角色
  813. parameters:
  814. - description: 验证参数Bearer和token空格拼接
  815. in: header
  816. name: Authorization
  817. required: true
  818. type: string
  819. - description: 请求参数
  820. in: body
  821. name: args
  822. required: true
  823. schema:
  824. $ref: '#/definitions/md.UpdateRoleStateReq'
  825. produces:
  826. - application/json
  827. responses:
  828. "200":
  829. description: success
  830. schema:
  831. type: string
  832. "400":
  833. description: 具体错误
  834. schema:
  835. $ref: '#/definitions/md.Response'
  836. summary: 删除角色
  837. tags:
  838. - 权限管理
  839. /api/role/permissionGroupList:
  840. get:
  841. consumes:
  842. - application/json
  843. description: 权限管理-权限组列表
  844. parameters:
  845. - description: 验证参数Bearer和token空格拼接
  846. in: header
  847. name: Authorization
  848. required: true
  849. type: string
  850. - description: 管理员id
  851. in: query
  852. name: adm_id
  853. required: true
  854. type: string
  855. produces:
  856. - application/json
  857. responses:
  858. "200":
  859. description: 具体看返回内容
  860. schema:
  861. type: string
  862. "400":
  863. description: 具体错误
  864. schema:
  865. $ref: '#/definitions/md.Response'
  866. summary: 权限组列表
  867. tags:
  868. - 权限管理
  869. /api/role/roleBindPermissionGroup:
  870. post:
  871. consumes:
  872. - application/json
  873. description: 权限管理-角色绑定权限组
  874. parameters:
  875. - description: 验证参数Bearer和token空格拼接
  876. in: header
  877. name: Authorization
  878. required: true
  879. type: string
  880. - description: 请求参数
  881. in: body
  882. name: args
  883. required: true
  884. schema:
  885. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  886. produces:
  887. - application/json
  888. responses:
  889. "200":
  890. description: success
  891. schema:
  892. type: string
  893. "400":
  894. description: 具体错误
  895. schema:
  896. $ref: '#/definitions/md.Response'
  897. summary: 角色绑定权限组
  898. tags:
  899. - 权限管理
  900. /api/role/roleList:
  901. get:
  902. consumes:
  903. - application/json
  904. description: 权限管理-角色列表
  905. parameters:
  906. - description: 验证参数Bearer和token空格拼接
  907. in: header
  908. name: Authorization
  909. required: true
  910. type: string
  911. produces:
  912. - application/json
  913. responses:
  914. "200":
  915. description: 具体看返回内容
  916. schema:
  917. type: string
  918. "400":
  919. description: 具体错误
  920. schema:
  921. $ref: '#/definitions/md.Response'
  922. summary: 角色列表
  923. tags:
  924. - 权限管理
  925. /api/role/updateAdmin:
  926. post:
  927. consumes:
  928. - application/json
  929. description: 权限管理-修改管理员信息
  930. parameters:
  931. - description: 验证参数Bearer和token空格拼接
  932. in: header
  933. name: Authorization
  934. required: true
  935. type: string
  936. - description: 请求参数
  937. in: body
  938. name: args
  939. required: true
  940. schema:
  941. $ref: '#/definitions/md.UpdateAdminReq'
  942. produces:
  943. - application/json
  944. responses:
  945. "200":
  946. description: success
  947. schema:
  948. type: string
  949. "400":
  950. description: 具体错误
  951. schema:
  952. $ref: '#/definitions/md.Response'
  953. summary: 修改管理员信息
  954. tags:
  955. - 权限管理
  956. /api/role/updateAdminState:
  957. post:
  958. consumes:
  959. - application/json
  960. description: 权限管理-修改管理员状态
  961. parameters:
  962. - description: 验证参数Bearer和token空格拼接
  963. in: header
  964. name: Authorization
  965. required: true
  966. type: string
  967. - description: 请求参数
  968. in: body
  969. name: args
  970. required: true
  971. schema:
  972. $ref: '#/definitions/md.UpdateAdminStateReq'
  973. produces:
  974. - application/json
  975. responses:
  976. "200":
  977. description: success
  978. schema:
  979. type: string
  980. "400":
  981. description: 具体错误
  982. schema:
  983. $ref: '#/definitions/md.Response'
  984. summary: 修改管理员状态
  985. tags:
  986. - 权限管理
  987. /api/role/updateRole:
  988. post:
  989. consumes:
  990. - application/json
  991. description: 权限管理-修改角色状态
  992. parameters:
  993. - description: 验证参数Bearer和token空格拼接
  994. in: header
  995. name: Authorization
  996. required: true
  997. type: string
  998. - description: 请求参数
  999. in: body
  1000. name: args
  1001. required: true
  1002. schema:
  1003. $ref: '#/definitions/md.UpdateRoleStateReq'
  1004. produces:
  1005. - application/json
  1006. responses:
  1007. "200":
  1008. description: success
  1009. schema:
  1010. type: string
  1011. "400":
  1012. description: 具体错误
  1013. schema:
  1014. $ref: '#/definitions/md.Response'
  1015. summary: 修改角色状态
  1016. tags:
  1017. - 权限管理
  1018. /api/smsCenter/detail:
  1019. post:
  1020. consumes:
  1021. - application/json
  1022. description: 短信中心-详情
  1023. parameters:
  1024. - description: 验证参数Bearer和token空格拼接
  1025. in: header
  1026. name: Authorization
  1027. required: true
  1028. type: string
  1029. - description: 请求参数
  1030. in: body
  1031. name: args
  1032. required: true
  1033. schema:
  1034. $ref: '#/definitions/md.SmsDetailReq'
  1035. produces:
  1036. - application/json
  1037. responses:
  1038. "200":
  1039. description: 具体看返回内容 这是data里面的数据
  1040. schema:
  1041. $ref: '#/definitions/md.SmsDetailResp'
  1042. "400":
  1043. description: 具体错误
  1044. schema:
  1045. $ref: '#/definitions/md.Response'
  1046. summary: 详情
  1047. tags:
  1048. - 短信中心
  1049. /api/smsCenter/list:
  1050. post:
  1051. consumes:
  1052. - application/json
  1053. description: 短信中心-列表
  1054. parameters:
  1055. - description: 验证参数Bearer和token空格拼接
  1056. in: header
  1057. name: Authorization
  1058. required: true
  1059. type: string
  1060. - description: 请求参数
  1061. in: body
  1062. name: args
  1063. required: true
  1064. schema:
  1065. $ref: '#/definitions/md.SmsListReq'
  1066. produces:
  1067. - application/json
  1068. responses:
  1069. "200":
  1070. description: 具体看返回内容 这是data里面的数据
  1071. schema:
  1072. $ref: '#/definitions/md.SmsListResp'
  1073. "400":
  1074. description: 具体错误
  1075. schema:
  1076. $ref: '#/definitions/md.Response'
  1077. summary: 列表
  1078. tags:
  1079. - 短信中心
  1080. /api/smsCenter/update:
  1081. post:
  1082. consumes:
  1083. - application/json
  1084. description: 短信中心-修改
  1085. parameters:
  1086. - description: 验证参数Bearer和token空格拼接
  1087. in: header
  1088. name: Authorization
  1089. required: true
  1090. type: string
  1091. - description: 请求参数
  1092. in: body
  1093. name: args
  1094. required: true
  1095. schema:
  1096. $ref: '#/definitions/md.SmsDetailReq'
  1097. produces:
  1098. - application/json
  1099. responses:
  1100. "200":
  1101. description: success
  1102. schema:
  1103. type: string
  1104. "400":
  1105. description: 具体错误
  1106. schema:
  1107. $ref: '#/definitions/md.Response'
  1108. summary: 修改
  1109. tags:
  1110. - 短信中心
  1111. securityDefinitions:
  1112. MasterID:
  1113. in: header
  1114. name: MasterID
  1115. type: apiKey
  1116. swagger: "2.0"