Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
travel-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cloud
travel-cloud
Commits
015dbcfb
提交
015dbcfb
authored
4月 18, 2025
作者:
hzh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
7a1ca51d
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
245 行增加
和
40 行删除
+245
-40
AirPortServiceImpl.java
...rg/dromara/common/ys/service/impl/AirPortServiceImpl.java
+15
-15
BillServiceImpl.java
...a/org/dromara/common/ys/service/impl/BillServiceImpl.java
+8
-8
QzServiceImpl.java
...ava/org/dromara/common/ys/service/impl/QzServiceImpl.java
+9
-9
TrainServiceImpl.java
.../org/dromara/common/ys/service/impl/TrainServiceImpl.java
+212
-7
VehiclesServiceImpl.java
...g/dromara/common/ys/service/impl/VehiclesServiceImpl.java
+1
-1
没有找到文件。
ruoyi-common/ruoyi-common-ys/src/main/java/org/dromara/common/ys/service/impl/AirPortServiceImpl.java
浏览文件 @
015dbcfb
...
@@ -67,7 +67,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -67,7 +67,7 @@ public class AirPortServiceImpl implements IAirportService {
public
QueryFlightRuleModel
queryFlightRule
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightRuleModel
model
)
{
public
QueryFlightRuleModel
queryFlightRule
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightRuleModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
QUERY_FLIGHT_RULE
.
getUrl
(),
AirportApiEnum
.
QUERY_FLIGHT_RULE
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -83,7 +83,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -83,7 +83,7 @@ public class AirPortServiceImpl implements IAirportService {
public
MatchClbzModel
matchClbz
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
MatchClbzModel
model
)
{
public
MatchClbzModel
matchClbz
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
MatchClbzModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
MATCH_CLBZ
.
getUrl
(),
AirportApiEnum
.
MATCH_CLBZ
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -99,7 +99,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -99,7 +99,7 @@ public class AirPortServiceImpl implements IAirportService {
public
CheckPriceForFlightModel
checkPriceForFlight
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckPriceForFlightModel
model
)
{
public
CheckPriceForFlightModel
checkPriceForFlight
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckPriceForFlightModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CHECK_PRICE_FOR_FLIGHT
.
getUrl
(),
AirportApiEnum
.
CHECK_PRICE_FOR_FLIGHT
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -115,7 +115,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -115,7 +115,7 @@ public class AirPortServiceImpl implements IAirportService {
public
CheckCabinModel
checkCabin
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckCabinModel
model
)
{
public
CheckCabinModel
checkCabin
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckCabinModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CHECK_CABIN
.
getUrl
(),
AirportApiEnum
.
CHECK_CABIN
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -131,7 +131,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -131,7 +131,7 @@ public class AirPortServiceImpl implements IAirportService {
public
CheckXyhBmdModel
checkXyhBmd
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckXyhBmdModel
model
)
{
public
CheckXyhBmdModel
checkXyhBmd
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
CheckXyhBmdModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CHECK_XYH_BMD
.
getUrl
(),
AirportApiEnum
.
CHECK_XYH_BMD
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -147,7 +147,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -147,7 +147,7 @@ public class AirPortServiceImpl implements IAirportService {
public
PlaneCheckStateModel
planeCheckState
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
PlaneCheckStateModel
model
)
{
public
PlaneCheckStateModel
planeCheckState
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
PlaneCheckStateModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
PLANE_CHECK_STATE
.
getUrl
(),
AirportApiEnum
.
PLANE_CHECK_STATE
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -163,7 +163,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -163,7 +163,7 @@ public class AirPortServiceImpl implements IAirportService {
public
GetTicketStatusModel
getTicketStatus
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
GetTicketStatusModel
model
)
{
public
GetTicketStatusModel
getTicketStatus
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
GetTicketStatusModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
GET_TICKET_STATUS
.
getUrl
(),
AirportApiEnum
.
GET_TICKET_STATUS
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -179,7 +179,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -179,7 +179,7 @@ public class AirPortServiceImpl implements IAirportService {
public
GetVoyageForChangeModel
getVoyageForChange
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
GetVoyageForChangeModel
model
)
{
public
GetVoyageForChangeModel
getVoyageForChange
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
GetVoyageForChangeModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
GET_VOYAGE_FOR_CHANGE
.
getUrl
(),
AirportApiEnum
.
GET_VOYAGE_FOR_CHANGE
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -195,7 +195,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -195,7 +195,7 @@ public class AirPortServiceImpl implements IAirportService {
public
QueryFlightForChangeModel
queryFlightForChange
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightForChangeModel
model
)
{
public
QueryFlightForChangeModel
queryFlightForChange
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightForChangeModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
QUERY_FLIGHT_FOR_CHANGE
.
getUrl
(),
AirportApiEnum
.
QUERY_FLIGHT_FOR_CHANGE
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -211,7 +211,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -211,7 +211,7 @@ public class AirPortServiceImpl implements IAirportService {
public
AddChangeOrderModel
addChangeOrderModel
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
AddChangeOrderModel
model
)
{
public
AddChangeOrderModel
addChangeOrderModel
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
AddChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
ADD_CHANGE_ORDER
.
getUrl
(),
AirportApiEnum
.
ADD_CHANGE_ORDER
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -227,7 +227,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -227,7 +227,7 @@ public class AirPortServiceImpl implements IAirportService {
public
QueryChangeOrderModel
queryChangeOrder
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryChangeOrderModel
model
)
{
public
QueryChangeOrderModel
queryChangeOrder
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
QUERY_CHANGE_ORDER
.
getUrl
(),
AirportApiEnum
.
QUERY_CHANGE_ORDER
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -259,7 +259,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -259,7 +259,7 @@ public class AirPortServiceImpl implements IAirportService {
public
void
cancelChangeOrder
(
String
userId
,
CancelChangeOrderModel
model
)
{
public
void
cancelChangeOrder
(
String
userId
,
CancelChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CANCEL_CHANGE_ORDER
.
getUrl
(),
AirportApiEnum
.
CANCEL_CHANGE_ORDER
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -274,7 +274,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -274,7 +274,7 @@ public class AirPortServiceImpl implements IAirportService {
public
void
changeDispatch
(
String
userId
,
DispatchChangeOrderModel
model
)
{
public
void
changeDispatch
(
String
userId
,
DispatchChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CHANGE_DISPATCH
.
getUrl
(),
AirportApiEnum
.
CHANGE_DISPATCH
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -353,7 +353,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -353,7 +353,7 @@ public class AirPortServiceImpl implements IAirportService {
public
PageInfo
<
PlaneOrderQueryChangeOrderApiBeanModel
>
changeQueryList
(
String
userId
,
PlaneOrderQueryChangeOrderApiModel
model
)
{
public
PageInfo
<
PlaneOrderQueryChangeOrderApiBeanModel
>
changeQueryList
(
String
userId
,
PlaneOrderQueryChangeOrderApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
CHANGE_QUERY_LIST
.
getUrl
(),
AirportApiEnum
.
CHANGE_QUERY_LIST
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
@@ -401,7 +401,7 @@ public class AirPortServiceImpl implements IAirportService {
...
@@ -401,7 +401,7 @@ public class AirPortServiceImpl implements IAirportService {
public
List
<
QueryFlightByHbhModel
>
queryFlightByHbh
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightByHbhModel
model
)
{
public
List
<
QueryFlightByHbhModel
>
queryFlightByHbh
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
airport
.
QueryFlightByHbhModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
RequestMethodEnum
.
POST
,
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
AirportApiEnum
.
QUERY_FLIGHT_BY_HBH
.
getUrl
(),
AirportApiEnum
.
QUERY_FLIGHT_BY_HBH
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
...
ruoyi-common/ruoyi-common-ys/src/main/java/org/dromara/common/ys/service/impl/BillServiceImpl.java
浏览文件 @
015dbcfb
...
@@ -27,7 +27,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -27,7 +27,7 @@ public class BillServiceImpl implements IBillService {
public
QueryBillModel
queryBill
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
QueryBillModel
model
)
{
public
QueryBillModel
queryBill
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
QueryBillModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
QUERY_BILL
.
getUrl
(),
BillApiEnum
.
QUERY_BILL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -42,7 +42,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -42,7 +42,7 @@ public class BillServiceImpl implements IBillService {
public
QueryBillAllModel
queryBillAll
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
QueryBillAllModel
model
)
{
public
QueryBillAllModel
queryBillAll
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
QueryBillAllModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
QUERY_BILL_ALL
.
getUrl
(),
BillApiEnum
.
QUERY_BILL_ALL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -57,7 +57,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -57,7 +57,7 @@ public class BillServiceImpl implements IBillService {
public
PageInfo
<
AccountDetailBeanModel
>
accountDetail
(
String
userId
,
AccountDetailModel
model
)
{
public
PageInfo
<
AccountDetailBeanModel
>
accountDetail
(
String
userId
,
AccountDetailModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
ACCOUNT_DETAIL
.
getUrl
(),
BillApiEnum
.
ACCOUNT_DETAIL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -88,7 +88,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -88,7 +88,7 @@ public class BillServiceImpl implements IBillService {
public
ConsTicketListModel
consTicketList
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
ConsTicketListModel
model
)
{
public
ConsTicketListModel
consTicketList
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
ConsTicketListModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
CONS_TICKET_LIST
.
getUrl
(),
BillApiEnum
.
CONS_TICKET_LIST
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -103,7 +103,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -103,7 +103,7 @@ public class BillServiceImpl implements IBillService {
public
TravelBillPushStatementModel
pushStatement
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
TravelBillPushStatementModel
model
)
{
public
TravelBillPushStatementModel
pushStatement
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
TravelBillPushStatementModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
PUSH_STATEMENT
.
getUrl
(),
BillApiEnum
.
PUSH_STATEMENT
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -118,7 +118,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -118,7 +118,7 @@ public class BillServiceImpl implements IBillService {
public
TravelBillGetCompareResultModel
getCompareResult
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
TravelBillGetCompareResultModel
model
)
{
public
TravelBillGetCompareResultModel
getCompareResult
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
TravelBillGetCompareResultModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
GET_COMPARE_RESULT
.
getUrl
(),
BillApiEnum
.
GET_COMPARE_RESULT
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -133,7 +133,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -133,7 +133,7 @@ public class BillServiceImpl implements IBillService {
public
EditBxjlModel
editBxjl
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
EditBxjlModel
model
)
{
public
EditBxjlModel
editBxjl
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
bill
.
EditBxjlModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
EDIT_BXJL
.
getUrl
(),
BillApiEnum
.
EDIT_BXJL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -148,7 +148,7 @@ public class BillServiceImpl implements IBillService {
...
@@ -148,7 +148,7 @@ public class BillServiceImpl implements IBillService {
public
void
confirmRecon
(
String
userId
,
ConfirmReconModel
model
)
{
public
void
confirmRecon
(
String
userId
,
ConfirmReconModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
BillApiEnum
.
CONFIRM_RECON
.
getUrl
(),
BillApiEnum
.
CONFIRM_RECON
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
...
ruoyi-common/ruoyi-common-ys/src/main/java/org/dromara/common/ys/service/impl/QzServiceImpl.java
浏览文件 @
015dbcfb
...
@@ -30,7 +30,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -30,7 +30,7 @@ public class QzServiceImpl implements IQzService {
public
PageInfo
<
VisaProdBeanModel
>
queryProdList
(
String
userId
,
QueryProdListModel
model
)
{
public
PageInfo
<
VisaProdBeanModel
>
queryProdList
(
String
userId
,
QueryProdListModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
QUERY_PROD_LIST
.
getUrl
(),
QzApiEnum
.
QUERY_PROD_LIST
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -61,7 +61,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -61,7 +61,7 @@ public class QzServiceImpl implements IQzService {
public
PageInfo
<
AssocitionBeanModel
>
queryAssociation
(
String
userId
,
QueryAssociationModel
model
)
{
public
PageInfo
<
AssocitionBeanModel
>
queryAssociation
(
String
userId
,
QueryAssociationModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
QUERY_ASSOCIATION
.
getUrl
(),
QzApiEnum
.
QUERY_ASSOCIATION
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -92,7 +92,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -92,7 +92,7 @@ public class QzServiceImpl implements IQzService {
public
PageInfo
<
OrderListBeanModel
>
queryList
(
String
userId
,
QzOrderQueryListModel
model
)
{
public
PageInfo
<
OrderListBeanModel
>
queryList
(
String
userId
,
QzOrderQueryListModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
QUERY_LIST
.
getUrl
(),
QzApiEnum
.
QUERY_LIST
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -123,7 +123,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -123,7 +123,7 @@ public class QzServiceImpl implements IQzService {
public
GetProdDetailModel
getProdDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
GetProdDetailModel
model
)
{
public
GetProdDetailModel
getProdDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
GetProdDetailModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
GET_PROD_DETAIL
.
getUrl
(),
QzApiEnum
.
GET_PROD_DETAIL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -138,7 +138,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -138,7 +138,7 @@ public class QzServiceImpl implements IQzService {
public
QzOrderGetDetailModel
getDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
QzOrderGetDetailModel
model
)
{
public
QzOrderGetDetailModel
getDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
QzOrderGetDetailModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
GET_DETAIL
.
getUrl
(),
QzApiEnum
.
GET_DETAIL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -153,7 +153,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -153,7 +153,7 @@ public class QzServiceImpl implements IQzService {
public
void
cancelOrder
(
String
userId
,
QzOrderCancelOrderModel
model
)
{
public
void
cancelOrder
(
String
userId
,
QzOrderCancelOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
CANCEL_ORDER
.
getUrl
(),
QzApiEnum
.
CANCEL_ORDER
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -167,7 +167,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -167,7 +167,7 @@ public class QzServiceImpl implements IQzService {
public
GetAssociatDetailModel
getAssociatDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
GetAssociatDetailModel
model
)
{
public
GetAssociatDetailModel
getAssociatDetail
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
qz
.
GetAssociatDetailModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
GET_ASSOCIAT_DETAIL
.
getUrl
(),
QzApiEnum
.
GET_ASSOCIAT_DETAIL
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -182,7 +182,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -182,7 +182,7 @@ public class QzServiceImpl implements IQzService {
public
List
<
NewAppointmentBeanModel
>
queryNewAppointment
(
String
userId
,
QueryNewAppointmentModel
model
)
{
public
List
<
NewAppointmentBeanModel
>
queryNewAppointment
(
String
userId
,
QueryNewAppointmentModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
QUERY_NEW_APPOINTMENT
.
getUrl
(),
QzApiEnum
.
QUERY_NEW_APPOINTMENT
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -197,7 +197,7 @@ public class QzServiceImpl implements IQzService {
...
@@ -197,7 +197,7 @@ public class QzServiceImpl implements IQzService {
public
void
bookOrder
(
String
userId
,
QzOrderBookOrderModel
model
)
{
public
void
bookOrder
(
String
userId
,
QzOrderBookOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
QzApiEnum
.
BOOK_ORDER
.
getUrl
(),
QzApiEnum
.
BOOK_ORDER
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
...
ruoyi-common/ruoyi-common-ys/src/main/java/org/dromara/common/ys/service/impl/TrainServiceImpl.java
浏览文件 @
015dbcfb
...
@@ -15,6 +15,9 @@ import org.dromara.common.ys.model.res.train.OrderRefundApplyModel;
...
@@ -15,6 +15,9 @@ import org.dromara.common.ys.model.res.train.OrderRefundApplyModel;
import
org.dromara.common.ys.model.res.train.OrderRefundDetailModel
;
import
org.dromara.common.ys.model.res.train.OrderRefundDetailModel
;
import
org.dromara.common.ys.model.res.train.OrderRefundListModel
;
import
org.dromara.common.ys.model.res.train.OrderRefundListModel
;
import
org.dromara.common.ys.model.res.train.QueryModel
;
import
org.dromara.common.ys.model.res.train.QueryModel
;
import
org.dromara.common.ys.model.res.train.TrChangeInfoBeanModel
;
import
org.dromara.common.ys.model.res.train.TrainChangeApplyApiModel
;
import
org.dromara.common.ys.model.res.train.TrainSetRegisterModel
;
import
org.dromara.common.ys.model.res.train.TrainStopModel
;
import
org.dromara.common.ys.model.res.train.TrainStopModel
;
import
org.dromara.common.ys.model.res.train.*
;
import
org.dromara.common.ys.model.res.train.*
;
import
org.dromara.common.ys.service.ITrainService
;
import
org.dromara.common.ys.service.ITrainService
;
...
@@ -52,7 +55,7 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -52,7 +55,7 @@ public class TrainServiceImpl implements ITrainService {
public
List
<
TrChangeInfoBeanModel
>
queryChangeOrder
(
String
userId
,
TrainQueryChangeOrderModel
model
)
{
public
List
<
TrChangeInfoBeanModel
>
queryChangeOrder
(
String
userId
,
TrainQueryChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHANGE_QUERY_CHANGE_ORDER
.
getUrl
(),
TrainApiEnum
.
CHANGE_QUERY_CHANGE_ORDER
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -70,7 +73,7 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -70,7 +73,7 @@ public class TrainServiceImpl implements ITrainService {
public
List
<
TrChangeInfoBeanModel
>
orderQueryChangeOrder
(
String
userId
,
TrainQueryChangeOrderModel
model
)
{
public
List
<
TrChangeInfoBeanModel
>
orderQueryChangeOrder
(
String
userId
,
TrainQueryChangeOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
QUERY_CHANGE_ORDER
.
getUrl
(),
TrainApiEnum
.
QUERY_CHANGE_ORDER
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -88,7 +91,7 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -88,7 +91,7 @@ public class TrainServiceImpl implements ITrainService {
public
List
<
TrRefundInfoBeanModel
>
queryRefundOrder
(
String
userId
,
TrainQueryRefundOrderModel
model
)
{
public
List
<
TrRefundInfoBeanModel
>
queryRefundOrder
(
String
userId
,
TrainQueryRefundOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
QUERY_REFUND_ORDER
.
getUrl
(),
TrainApiEnum
.
QUERY_REFUND_ORDER
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -106,7 +109,7 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -106,7 +109,7 @@ public class TrainServiceImpl implements ITrainService {
public
List
<
TrainSetFindClkBeanModel
>
findClk
(
String
userId
,
TrainSetFindClkModel
model
)
{
public
List
<
TrainSetFindClkBeanModel
>
findClk
(
String
userId
,
TrainSetFindClkModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
FIND_CLK
.
getUrl
(),
TrainApiEnum
.
FIND_CLK
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -124,7 +127,7 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -124,7 +127,7 @@ public class TrainServiceImpl implements ITrainService {
public
List
<
TrainSetSaveClkResBeanModel
>
saveClk
(
String
userId
,
TrainSetSaveClkModel
model
)
{
public
List
<
TrainSetSaveClkResBeanModel
>
saveClk
(
String
userId
,
TrainSetSaveClkModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
SAVE_CLK
.
getUrl
(),
TrainApiEnum
.
SAVE_CLK
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
@@ -168,6 +171,148 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -168,6 +171,148 @@ public class TrainServiceImpl implements ITrainService {
return
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
toJSONString
(),
CheckAccountResModel
.
class
);
return
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
toJSONString
(),
CheckAccountResModel
.
class
);
}
}
@Override
public
TrainSetRegisterModel
register
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
train
.
TrainSetRegisterModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
REGISTER
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
return
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
toJSONString
(),
TrainSetRegisterModel
.
class
);
}
@Override
public
TrainChangeApplyApiModel
apply
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
train
.
TrainChangeApplyApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
APPLY
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
return
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
toJSONString
(),
TrainChangeApplyApiModel
.
class
);
}
@Override
public
void
changeCancel
(
String
userId
,
TrainChangeCancelApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHANGE_CANCEL
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
changeConfirm
(
String
userId
,
TrainChangeConfirmApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHANGE_CONFIRM
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
changeConfirm
(
String
userId
,
org
.
dromara
.
common
.
ys
.
model
.
req
.
hotel
.
PayOrderModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
PAY_CHANGE_ORDER
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
checkAccountCode
(
String
userId
,
TrainSetCheckAccountCodeModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHECK_ACCOUNT_CODE
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
checkRegisterCode
(
String
userId
,
TrainSetCheckRegisterCodeModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHECK_REGISTER_CODE
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
checkResetPwd
(
String
userId
,
TrainSetCheckResetPwdModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
CHECK_RESET_PWD
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
deleteClk
(
String
userId
,
TrainSetDeleteClkModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
DELETE_CLK
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
public
void
resetPwd
(
String
userId
,
TrainSetResetPwdModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
RESET_PWD
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
}
@Override
@Override
public
OrderBookResModel
bookOrder
(
String
userId
,
OrderBookReqModel
model
)
{
public
OrderBookResModel
bookOrder
(
String
userId
,
OrderBookReqModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
...
@@ -242,6 +387,68 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -242,6 +387,68 @@ public class TrainServiceImpl implements ITrainService {
.
setList
(
JSON
.
parseArray
(
JSON
.
toJSONString
(
pageInfo
.
getList
()),
OrderListQueryResModel
.
class
));
.
setList
(
JSON
.
parseArray
(
JSON
.
toJSONString
(
pageInfo
.
getList
()),
OrderListQueryResModel
.
class
));
}
}
@Override
public
PageInfo
<
TrainRefundQueryRefundListApiBeanModel
>
queryRefundList
(
String
userId
,
TrainRefundQueryRefundListApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
QUERY_REFUND_LIST
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
if
(
res
.
getData
()
==
null
)
{
return
PageInfo
.<
TrainRefundQueryRefundListApiBeanModel
>
builder
().
build
()
.
setCount
(
model
.
getCount
())
.
setMap
(
Collections
.
emptyMap
())
.
setPageNum
(
model
.
getPageNum
())
.
setPages
(
0
)
.
setTotal
(
0
)
.
setList
(
Collections
.
emptyList
());
}
PageInfo
pageInfo
=
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
getString
(
"refundListApiBeanPageInfo"
),
PageInfo
.
class
);
return
PageInfo
.<
TrainRefundQueryRefundListApiBeanModel
>
builder
().
build
()
.
setCount
(
pageInfo
.
getCount
())
.
setMap
(
pageInfo
.
getMap
())
.
setPageNum
(
pageInfo
.
getPageNum
())
.
setPages
(
pageInfo
.
getPages
())
.
setTotal
(
pageInfo
.
getTotal
())
.
setList
(
JSON
.
parseArray
(
JSON
.
toJSONString
(
pageInfo
.
getList
()),
TrainRefundQueryRefundListApiBeanModel
.
class
));
}
@Override
public
PageInfo
<
TrainChangeQueryChangeListApiBeanModel
>
queryChangeList
(
String
userId
,
TrainoChangeQueryChangeListApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
QUERY_CHANGE_LIST
.
getUrl
(),
userId
,
JSON
.
toJSONString
(
model
)
);
if
(!
CharSequenceUtil
.
equals
(
res
.
getErrCode
(),
Code
.
SUCCESS
.
getCode
()))
{
throw
new
RuntimeException
(
res
.
getTips
());
}
if
(
res
.
getData
()
==
null
)
{
return
PageInfo
.<
TrainChangeQueryChangeListApiBeanModel
>
builder
().
build
()
.
setCount
(
model
.
getCount
())
.
setMap
(
Collections
.
emptyMap
())
.
setPageNum
(
model
.
getPageNum
())
.
setPages
(
0
)
.
setTotal
(
0
)
.
setList
(
Collections
.
emptyList
());
}
PageInfo
pageInfo
=
JSON
.
parseObject
(
JSON
.
parseObject
(
res
.
getData
()).
getString
(
"changeListApiBeanPageInfo"
),
PageInfo
.
class
);
return
PageInfo
.<
TrainChangeQueryChangeListApiBeanModel
>
builder
().
build
()
.
setCount
(
pageInfo
.
getCount
())
.
setMap
(
pageInfo
.
getMap
())
.
setPageNum
(
pageInfo
.
getPageNum
())
.
setPages
(
pageInfo
.
getPages
())
.
setTotal
(
pageInfo
.
getTotal
())
.
setList
(
JSON
.
parseArray
(
JSON
.
toJSONString
(
pageInfo
.
getList
()),
TrainChangeQueryChangeListApiBeanModel
.
class
));
}
@Override
@Override
public
OrderInfoModel
detail
(
String
userId
,
OrderQueryModel
model
)
{
public
OrderInfoModel
detail
(
String
userId
,
OrderQueryModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
...
@@ -337,8 +544,6 @@ public class TrainServiceImpl implements ITrainService {
...
@@ -337,8 +544,6 @@ public class TrainServiceImpl implements ITrainService {
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
PROD
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
TrainApiEnum
.
REFUND_QUERY_REFUND_ORDER
.
getUrl
(),
DomainEnum
.
TEST
.
getDomain
(),
TrainApiEnum
.
QUERY_REFUND_LIST
.
getUrl
(),
TrainApiEnum
.
QUERY_REFUND_LIST
.
getUrl
(),
userId
,
userId
,
JSON
.
toJSONString
(
model
)
JSON
.
toJSONString
(
model
)
...
...
ruoyi-common/ruoyi-common-ys/src/main/java/org/dromara/common/ys/service/impl/VehiclesServiceImpl.java
浏览文件 @
015dbcfb
...
@@ -190,7 +190,7 @@ public class VehiclesServiceImpl implements IVehiclesService {
...
@@ -190,7 +190,7 @@ public class VehiclesServiceImpl implements IVehiclesService {
public
void
confirmPay
(
String
userId
,
ConfirmPayApiModel
model
)
{
public
void
confirmPay
(
String
userId
,
ConfirmPayApiModel
model
)
{
ApiHttpResponse
res
=
Api
.
v1
(
ApiHttpResponse
res
=
Api
.
v1
(
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
com
.
wenhe
.
base
.
base
.
RequestMethodEnum
.
POST
,
DomainEnum
.
TEST
.
getDomain
(),
DomainEnum
.
PROD
.
getDomain
(),
VehiclesApiEnum
.
CONFIRM_PAY
.
getUrl
(),
VehiclesApiEnum
.
CONFIRM_PAY
.
getUrl
(),
userId
,
userId
,
null
,
null
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论