记得上下班打卡 | 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
735bd1e4
Commit
735bd1e4
authored
Nov 15, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂时提交接口
parent
73691fa1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
21 deletions
+32
-21
application-test.yml
liquidnet-bus-config/liquidnet-config/application-test.yml
+1
-1
STInsertFieldParam.java
...rvice/platform/param/ticketSystem/STInsertFieldParam.java
+12
-12
ITicketSystemServiceImpl.java
...m/service/ticketSystem/impl/ITicketSystemServiceImpl.java
+19
-8
No files found.
liquidnet-bus-config/liquidnet-config/application-test.yml
View file @
735bd1e4
...
...
@@ -13,7 +13,7 @@ liquidnet:
refresh-ttl
:
525600
blacklist_grace_period
:
5
mysql
:
urlHostAndPort
:
172.17.
205.50
:3308
urlHostAndPort
:
172.17.
192.42
:3308
username
:
root
password
:
Zhengzai@rd2U#
rabbitmq
:
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/param/ticketSystem/STInsertFieldParam.java
View file @
735bd1e4
...
...
@@ -7,28 +7,28 @@ import lombok.Data;
@Data
@ApiModel
(
value
=
"STInsertFieldParam"
,
description
=
"详情"
)
public
class
STInsertFieldParam
{
@ApiModelProperty
(
value
=
"场所编码"
)
@ApiModelProperty
(
value
=
"场所编码
[为空会新增场所]
"
)
String
venueCode
;
@ApiModelProperty
(
value
=
"省ID"
)
@ApiModelProperty
(
value
=
"省ID
[新增场所时必填]
"
)
Integer
provinceId
;
@ApiModelProperty
(
value
=
"市ID"
)
@ApiModelProperty
(
value
=
"市ID
[新增场所时必填]
"
)
Integer
cityId
;
@ApiModelProperty
(
value
=
"区ID"
)
@ApiModelProperty
(
value
=
"区ID
[新增场所时必填]
"
)
Integer
districtId
;
@ApiModelProperty
(
value
=
"场所名称"
)
@ApiModelProperty
(
value
=
"场所名称
[新增场所时必填]
"
)
String
venueName
;
@ApiModelProperty
(
value
=
"场所详细地址"
)
@ApiModelProperty
(
value
=
"场所详细地址
[新增场所时必填]
"
)
String
venueAddress
;
@ApiModelProperty
(
value
=
"经营单位"
)
@ApiModelProperty
(
value
=
"经营单位
[非必传]
"
)
String
managementCompany
;
@ApiModelProperty
(
value
=
"是否有场厅"
)
@ApiModelProperty
(
value
=
"是否有场厅
[必传]
"
)
Integer
hasHall
;
@ApiModelProperty
(
value
=
"场厅名称"
)
@ApiModelProperty
(
value
=
"场厅名称
[有场厅时必传]
"
)
String
hallName
;
@ApiModelProperty
(
value
=
"是否有座"
)
@ApiModelProperty
(
value
=
"是否有座
[必传]
"
)
Integer
hasSeat
;
@ApiModelProperty
(
value
=
"场厅座位数量"
)
@ApiModelProperty
(
value
=
"场厅座位数量
[有座时必传]
"
)
Integer
seatNum
;
@ApiModelProperty
(
value
=
"场厅可容纳人数"
)
@ApiModelProperty
(
value
=
"场厅可容纳人数
[无座时必传]
"
)
Integer
seatingCapacity
;
}
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/ticketSystem/impl/ITicketSystemServiceImpl.java
View file @
735bd1e4
...
...
@@ -76,21 +76,32 @@ public class ITicketSystemServiceImpl implements ITicketSystemService {
@Override
public
List
<
STFieldListVo
>
getFieldList
(
String
accessToken
,
STFieldListParam
fieldListParam
)
{
String
url
=
ticketSystemUrl
+
"/standard/venue/list"
;
//
MultiValueMap
<
String
,
String
>
headers
=
CollectionUtil
.
linkedMultiValueMapStringString
();
headers
.
add
(
"Accept"
,
"application/json;charset=UTF-8"
);
HashMap
<
String
,
String
>
params
=
CollectionUtil
.
mapStringString
();
params
.
put
(
"accessToken"
,
accessToken
);
params
.
put
(
"provinceId"
,
fieldListParam
.
getProvinceId
()
+
""
);
params
.
put
(
"cityId"
,
fieldListParam
.
getCityId
()
+
""
);
params
.
put
(
"districtId"
,
fieldListParam
.
getDistrictId
()
+
""
);
params
.
put
(
"pageNo"
,
fieldListParam
.
getPageNo
().
toString
());
params
.
put
(
"pageSize"
,
fieldListParam
.
getPageSize
().
toString
());
params
.
put
(
"venueName"
,
fieldListParam
.
getVenueName
());
ResponseDataVo
<
List
<
STFieldListVo
>>
response
=
JsonUtils
.
fromJson
(
HttpUtil
.
getRaw
(
ticketSystemUrl
+
"/standard/venue/list?accessToken={accessToken}&provinceId={provinceId}&cityId={cityId}&districtId={districtId}&pageNo={pageNo}&pageSize={pageSize}&venueName={venueName}"
,
JSON
.
toJSONString
(
params
),
headers
),
new
TypeReference
<
ResponseDataVo
<
List
<
STFieldListVo
>>>()
{
if
(
fieldListParam
.
getProvinceId
()!=
0
)
{
params
.
put
(
"provinceId"
,
fieldListParam
.
getProvinceId
()
+
""
);
}
if
(
fieldListParam
.
getCityId
()!=
0
)
{
params
.
put
(
"cityId"
,
fieldListParam
.
getCityId
()
+
""
);
}
if
(
fieldListParam
.
getDistrictId
()!=
0
)
{
params
.
put
(
"districtId"
,
fieldListParam
.
getDistrictId
()
+
""
);
}
if
(
fieldListParam
.
getVenueName
()!=
null
)
{
params
.
put
(
"venueName"
,
fieldListParam
.
getVenueName
());
}
log
.
debug
(
"URL = "
+
url
);
log
.
debug
(
"params = "
+
JSON
.
toJSONString
(
params
));
ResponseListVo
<
List
<
STFieldListVo
>>
response
=
JsonUtils
.
fromJson
(
HttpUtil
.
postRaw
(
url
,
JSON
.
toJSONString
(
params
),
headers
),
new
TypeReference
<
ResponseListVo
<
List
<
STFieldListVo
>>>()
{
});
return
response
.
getData
();
return
response
.
getData
()
.
getDataList
()
;
}
@Override
...
...
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