You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
360 lines
7.7 KiB
360 lines
7.7 KiB
basePath: /PcClient
|
|
definitions:
|
|
models.BaheTeam:
|
|
properties:
|
|
activity_id:
|
|
type: integer
|
|
bahe_activity_id:
|
|
type: integer
|
|
bahe_team_name:
|
|
type: string
|
|
id:
|
|
type: integer
|
|
is_delete:
|
|
type: boolean
|
|
members:
|
|
items:
|
|
$ref: '#/definitions/models.BaheTeamMember'
|
|
type: array
|
|
qrcode:
|
|
type: string
|
|
rank:
|
|
type: integer
|
|
total_score:
|
|
type: integer
|
|
type: object
|
|
models.BaheTeamMember:
|
|
properties:
|
|
avatar:
|
|
type: string
|
|
bahe_activity_id:
|
|
type: integer
|
|
id:
|
|
type: integer
|
|
member_id:
|
|
type: integer
|
|
nick_name:
|
|
type: string
|
|
rehearsal_id:
|
|
type: integer
|
|
score:
|
|
type: integer
|
|
team_id:
|
|
type: integer
|
|
team_name:
|
|
type: string
|
|
type: object
|
|
models.CustomerOperation:
|
|
properties:
|
|
activity_id:
|
|
type: integer
|
|
area_id:
|
|
type: integer
|
|
created_at:
|
|
type: string
|
|
customer_id:
|
|
type: integer
|
|
id:
|
|
type: integer
|
|
is_delete:
|
|
type: boolean
|
|
module_activity_id:
|
|
type: integer
|
|
module_activity_type:
|
|
type: string
|
|
operation:
|
|
type: string
|
|
other_data:
|
|
type: object
|
|
updated_at:
|
|
type: string
|
|
type: object
|
|
models.Invitation:
|
|
properties:
|
|
activity_id:
|
|
type: integer
|
|
id:
|
|
type: integer
|
|
qr_dest_url:
|
|
type: string
|
|
qr_image_url:
|
|
type: string
|
|
self_box:
|
|
type: string
|
|
setting_box:
|
|
type: string
|
|
submit_time_limit:
|
|
type: string
|
|
time_limit_end:
|
|
type: string
|
|
type: object
|
|
models.TugOfWar:
|
|
properties:
|
|
activity_id:
|
|
type: integer
|
|
created_at:
|
|
type: string
|
|
id:
|
|
type: integer
|
|
is_delete:
|
|
type: boolean
|
|
model:
|
|
type: string
|
|
number:
|
|
type: integer
|
|
status:
|
|
type: string
|
|
updated_at:
|
|
type: string
|
|
type: object
|
|
host: 172.0.0.1:20181
|
|
info:
|
|
contact:
|
|
email: support@swagger.io
|
|
name: API Support
|
|
url: http://www.swagger.io/support
|
|
description: This is a sample server Petstore server.
|
|
license:
|
|
name: Apache 2.0
|
|
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
|
termsOfService: http://swagger.io/terms/
|
|
title: hudongzhuangjia api
|
|
version: "1.0"
|
|
paths:
|
|
/Client/InviteEnvelopeCtl/invite:
|
|
post:
|
|
consumes:
|
|
- application/json
|
|
description: 填写要求信息
|
|
parameters:
|
|
- description: 邀请函内容
|
|
in: query
|
|
name: activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
description: success
|
|
schema:
|
|
type: string
|
|
"404":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"405":
|
|
description: 用户不存在
|
|
schema:
|
|
type: string
|
|
summary: InviteEnvelope
|
|
tags:
|
|
- invite envelope
|
|
/Client/InviteEnvelopeCtl/setting:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: get invite envelope setting
|
|
parameters:
|
|
- description: Activity ID
|
|
in: query
|
|
name: activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
schema:
|
|
$ref: '#/definitions/models.Invitation'
|
|
type: object
|
|
"404":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"405":
|
|
description: 用户不存在
|
|
schema:
|
|
type: string
|
|
summary: InviteEnvelope
|
|
tags:
|
|
- invite envelope
|
|
/Client/TugOfWarCtl/shake:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: shake bahe activity
|
|
parameters:
|
|
- description: Bahe Activity ID
|
|
in: query
|
|
name: bahe_activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
schema:
|
|
$ref: '#/definitions/models.BaheTeam'
|
|
type: object
|
|
"404":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"405":
|
|
description: 用户不存在
|
|
schema:
|
|
$ref: '#/definitions/string'
|
|
type: object
|
|
summary: tug war
|
|
tags:
|
|
- tug war
|
|
/Client/TugOfWarCtl/status:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: get current status
|
|
parameters:
|
|
- description: Bahe Activity ID
|
|
in: query
|
|
name: bahe_activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
schema:
|
|
$ref: '#/definitions/models.TugOfWar'
|
|
type: object
|
|
"503":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"504":
|
|
description: 用户不存在
|
|
schema:
|
|
$ref: '#/definitions/string'
|
|
type: object
|
|
summary: client tug war
|
|
tags:
|
|
- client tug war
|
|
/Pc/ActivityCtl/list:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: get all area store
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: success
|
|
schema:
|
|
type: string
|
|
summary: activity
|
|
tags:
|
|
- pc
|
|
/Pc/AuctionCtl/startAuction:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: 开始竞拍
|
|
parameters:
|
|
- description: 竞拍id
|
|
in: query
|
|
name: auction_activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: success
|
|
schema:
|
|
type: string
|
|
summary: auction
|
|
tags:
|
|
- pc
|
|
/Pc/AuctionCtl/stopAuction:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: 结束竞拍
|
|
parameters:
|
|
- description: 竞拍id
|
|
in: query
|
|
name: auction_activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: success
|
|
schema:
|
|
type: string
|
|
summary: auction
|
|
tags:
|
|
- pc
|
|
/Pc/WsCtl/ops:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: get current operation
|
|
parameters:
|
|
- description: Activity ID
|
|
in: query
|
|
name: activity_id
|
|
required: true
|
|
type: integer
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
schema:
|
|
items:
|
|
$ref: '#/definitions/models.CustomerOperation'
|
|
type: array
|
|
"503":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"504":
|
|
description: 用户不存在
|
|
schema:
|
|
$ref: '#/definitions/string'
|
|
type: object
|
|
summary: ws
|
|
tags:
|
|
- ws
|
|
/Pc/WsCtl/saveOp:
|
|
post:
|
|
consumes:
|
|
- application/json
|
|
description: save operation
|
|
parameters:
|
|
- description: 操作内容
|
|
in: query
|
|
name: operation
|
|
required: true
|
|
type: string
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"0":
|
|
description: success
|
|
schema:
|
|
type: string
|
|
"503":
|
|
description: 参数不存在
|
|
schema:
|
|
type: string
|
|
"504":
|
|
description: 用户不存在
|
|
schema:
|
|
$ref: '#/definitions/string'
|
|
type: object
|
|
summary: ws
|
|
tags:
|
|
- ws
|
|
swagger: "2.0"
|