记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
d84bfad5
Commit
d84bfad5
authored
Jun 06, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验票API:参数接收类型调整;
parent
f808c7a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
KylinStationController.java
...dnet/service/kylin/controller/KylinStationController.java
+8
-11
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/controller/KylinStationController.java
View file @
d84bfad5
...
...
@@ -243,12 +243,11 @@ public class KylinStationController {
@ApiOperation
(
value
=
"下载验票数据"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"path"
,
required
=
true
,
dataType
=
"String"
,
name
=
"type"
,
value
=
"类型[101-音乐节,102小型演出(livehouse演出),103巡演]"
,
allowableValues
=
"101,102,103"
),
@ApiImplicitParam
(
type
=
"path"
,
required
=
true
,
dataType
=
"String"
,
name
=
"performanceId"
,
value
=
"演出ID[64]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"performanceId"
,
value
=
"演出ID[64]"
),
})
@GetMapping
(
"download
/{type}/{performanceId}
"
)
public
ResponseDto
<
List
<
KylinStationCheckOrderVo
>>
downloadTicketData
(
@
PathVariable
String
type
,
@PathVariable
String
performanceId
)
{
log
.
info
(
"
type:{},performanceId:{}"
,
type
,
performanceId
);
@GetMapping
(
"download"
)
public
ResponseDto
<
List
<
KylinStationCheckOrderVo
>>
downloadTicketData
(
@
RequestParam
String
performanceId
)
{
log
.
info
(
"
performanceId:{}"
,
performanceId
);
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
// 查取当前用户下关联演出ID列表
...
...
@@ -302,14 +301,12 @@ public class KylinStationController {
@ApiOperation
(
value
=
"刷新验票数据"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"body"
,
required
=
true
,
dataType
=
"String"
,
name
=
"type"
,
value
=
"类型[101-音乐节,102小型演出(livehouse演出),103巡演]"
,
allowableValues
=
"101,102,103"
),
@ApiImplicitParam
(
type
=
"body"
,
required
=
true
,
dataType
=
"String"
,
name
=
"performanceId"
,
value
=
"演出ID[64]"
),
@ApiImplicitParam
(
type
=
"body"
,
required
=
true
,
dataType
=
"String"
,
name
=
"latestUpdateAt"
,
value
=
"最近更新时间[yyyy-MM-dd HH:mm:ss]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"performanceId"
,
value
=
"演出ID[64]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"latestUpdateAt"
,
value
=
"最近更新时间[yyyy-MM-dd HH:mm:ss]"
),
})
@PostMapping
(
"refresh"
)
public
ResponseDto
<
List
<
KylinStationCheckOrderVo
>>
refreshTicketData
(
@PathVariable
String
type
,
@PathVariable
String
performanceId
,
@PathVariable
String
latestUpdateAt
)
{
log
.
info
(
"refresh type:{},performanceId:{},latestUpdateAt:{}"
,
type
,
performanceId
,
latestUpdateAt
);
public
ResponseDto
<
List
<
KylinStationCheckOrderVo
>>
refreshTicketData
(
@RequestParam
String
performanceId
,
@RequestParam
String
latestUpdateAt
)
{
log
.
info
(
"refresh performanceId:{},latestUpdateAt:{}"
,
performanceId
,
latestUpdateAt
);
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
// 查取当前用户下关联演出ID列表
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment