123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- definitions:
- apis.ContactInfoReply:
- properties:
- addr:
- type: string
- email:
- type: string
- id:
- type: integer
- phone:
- type: string
- type: object
- apis.JtContentItem:
- properties:
- content:
- type: string
- created_at:
- type: integer
- first_pics:
- items:
- type: string
- type: array
- id:
- type: integer
- publish_status:
- type: integer
- title:
- type: string
- type: object
- apis.JtContentListReply:
- properties:
- list:
- items:
- $ref: '#/definitions/apis.JtContentItem'
- type: array
- page:
- type: integer
- total:
- type: integer
- type: object
- apis.PagePicItem:
- properties:
- created_at:
- type: integer
- id:
- type: integer
- pic:
- type: string
- type: object
- apis.PagePicListReply:
- properties:
- list:
- items:
- $ref: '#/definitions/apis.PagePicItem'
- type: array
- page:
- type: integer
- total:
- type: integer
- type: object
- base.HTTPError:
- properties:
- code:
- example: 500
- format: int
- type: integer
- message:
- example: status bad request
- type: string
- type: object
- v1.ContactInfoResponse:
- properties:
- code:
- default: 0
- description: 返回码
- format: int
- type: integer
- data:
- $ref: '#/definitions/apis.ContactInfoReply'
- type: object
- message:
- default: success
- description: 消息
- type: string
- type: object
- v1.JtContentInfoData:
- properties:
- content:
- type: string
- created_at:
- type: integer
- first_pics:
- items:
- type: string
- type: array
- id:
- type: integer
- publish_status:
- description: 1 发布 2 暂不发布
- type: integer
- title:
- type: string
- type: object
- v1.JtContentInfoResponse:
- properties:
- code:
- default: 0
- description: 返回码
- format: int
- type: integer
- data:
- $ref: '#/definitions/v1.JtContentInfoData'
- type: object
- message:
- default: success
- description: 消息
- type: string
- type: object
- v1.JtContentListResponse:
- properties:
- code:
- default: 0
- description: 返回码
- format: int
- type: integer
- data:
- $ref: '#/definitions/apis.JtContentListReply'
- type: object
- message:
- default: success
- description: 消息
- type: string
- type: object
- v1.PagePicListResponse:
- properties:
- code:
- default: 0
- description: 返回码
- format: int
- type: integer
- data:
- $ref: '#/definitions/apis.PagePicListReply'
- type: object
- message:
- default: success
- description: 消息
- type: string
- type: object
- v1.UploadResponse:
- properties:
- code:
- default: 0
- description: 返回码
- format: int
- type: integer
- data:
- type: string
- message:
- default: success
- description: 消息
- type: string
- type: object
- info:
- contact: {}
- description: This is a gateway server. On the page, you can go to do testing for every API.
- license: {}
- title: Project xingjia-official-gateway's APIs
- version: "1.1"
- paths:
- /api/v1/file:
- get:
- consumes:
- - application/json
- description: 获取文件
- parameters:
- - description: jwt token
- in: header
- name: token
- required: true
- type: string
- - description: ' '
- in: query
- name: obj
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.UploadResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 获取文件
- tags:
- - download
- /api/v1/jt/announcement:
- get:
- consumes:
- - application/json
- description: 公示公告列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 公示公告列表
- tags:
- - 公示公告
- /api/v1/jt/contact:
- get:
- consumes:
- - application/json
- description: 联系我们信息
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.ContactInfoResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 联系我们信息
- tags:
- - 联系我们
- /api/v1/jt/desc:
- get:
- consumes:
- - application/json
- description: 集团简介信息
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentInfoResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 集团简介信息
- tags:
- - 集团简介
- /api/v1/jt/df:
- get:
- consumes:
- - application/json
- description: 党风廉洁列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 党风廉洁列表
- tags:
- - 党风廉洁
- /api/v1/jt/hw:
- get:
- consumes:
- - application/json
- description: 会务动态列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 会务动态列表
- tags:
- - 会务动态
- /api/v1/jt/lx:
- get:
- consumes:
- - application/json
- description: 两学一做列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 两学一做列表
- tags:
- - 两学一做
- /api/v1/jt/news:
- get:
- consumes:
- - application/json
- description: 兴嘉要闻列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 兴嘉要闻列表
- tags:
- - 兴嘉要闻
- /api/v1/jt/page_pic:
- get:
- consumes:
- - application/json
- description: 首页顶层图片列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.PagePicListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 首页顶层图片列表
- tags:
- - 首页顶层图片
- /api/v1/jt/program:
- get:
- consumes:
- - application/json
- description: 项目展示列表
- parameters:
- - description: ' '
- in: query
- name: page
- type: integer
- - description: ' '
- in: query
- name: page_size
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentListResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 项目展示列表
- tags:
- - 项目展示
- /api/v1/jt/vision:
- get:
- consumes:
- - application/json
- description: 发展愿景信息
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/v1.JtContentInfoResponse'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/base.HTTPError'
- summary: 发展愿景信息
- tags:
- - 发展愿景
- swagger: "2.0"
|