Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
b018e907
Commit
b018e907
authored
Nov 13, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-bacground-im' into dev
parents
50b553df
96a51172
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
PublicController.java
.../github/wxiaoqi/security/admin/rest/PublicController.java
+3
-3
BackStageOrderController.java
...om/xxfc/platform/order/rest/BackStageOrderController.java
+0
-1
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/PublicController.java
View file @
b018e907
...
@@ -73,7 +73,7 @@ public class PublicController {
...
@@ -73,7 +73,7 @@ public class PublicController {
,
new
HashSet
<
String
>()
{{
add
(
"用户名不存在!"
);}});
,
new
HashSet
<
String
>()
{{
add
(
"用户名不存在!"
);}});
}
}
Integer
userid
=
Integer
.
parseInt
(
username
);
Integer
userid
=
Integer
.
parseInt
(
username
);
return
ObjectRestResponse
.
succ
(
getAppUserInfoById
(
userid
)
);
return
getAppUserInfoById
(
userid
);
}
}
@RequestMapping
(
value
=
"/app/userinfo-by-id"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/app/userinfo-by-id"
,
method
=
RequestMethod
.
GET
)
...
@@ -82,7 +82,7 @@ public class PublicController {
...
@@ -82,7 +82,7 @@ public class PublicController {
if
(
id
==
null
)
{
if
(
id
==
null
)
{
return
ObjectRestResponse
.
paramIsEmpty
();
return
ObjectRestResponse
.
paramIsEmpty
();
}
}
return
ObjectRestResponse
.
succ
(
getAppUserInfoById
(
id
)
);
return
getAppUserInfoById
(
id
);
}
}
@RequestMapping
(
value
=
"/app/userinfo-by-username"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/app/userinfo-by-username"
,
method
=
RequestMethod
.
GET
)
...
@@ -99,7 +99,7 @@ public class PublicController {
...
@@ -99,7 +99,7 @@ public class PublicController {
,
new
HashSet
<
String
>()
{{
add
(
"用户名不存在!"
);}});
,
new
HashSet
<
String
>()
{{
add
(
"用户名不存在!"
);}});
}
}
}
}
return
ObjectRestResponse
.
succ
(
getAppUserInfoById
(
appUserLogin
.
getId
()
));
return
getAppUserInfoById
(
appUserLogin
.
getId
(
));
}
}
private
ObjectRestResponse
<
AppUserDTO
>
getAppUserInfoById
(
Integer
userid
)
throws
IllegalAccessException
,
InvocationTargetException
{
private
ObjectRestResponse
<
AppUserDTO
>
getAppUserInfoById
(
Integer
userid
)
throws
IllegalAccessException
,
InvocationTargetException
{
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BackStageOrderController.java
View file @
b018e907
...
@@ -325,7 +325,6 @@ public class BackStageOrderController extends CommonBaseController implements Us
...
@@ -325,7 +325,6 @@ public class BackStageOrderController extends CommonBaseController implements Us
for
(
OrderPageVO
orderPageVO
:
pageDataVO
.
getData
())
{
for
(
OrderPageVO
orderPageVO
:
pageDataVO
.
getData
())
{
if
(
orderPageVO
.
getOrderRentVehicleDetail
()
!=
null
&&
orderPageVO
.
getOrderRentVehicleDetail
().
getVehicleId
()
!=
null
)
{
if
(
orderPageVO
.
getOrderRentVehicleDetail
()
!=
null
&&
orderPageVO
.
getOrderRentVehicleDetail
().
getVehicleId
()
!=
null
)
{
ObjectRestResponse
<
Vehicle
>
restResponse
=
vehicleFeign
.
get
(
orderPageVO
.
getOrderRentVehicleDetail
().
getVehicleId
());
ObjectRestResponse
<
Vehicle
>
restResponse
=
vehicleFeign
.
get
(
orderPageVO
.
getOrderRentVehicleDetail
().
getVehicleId
());
log
.
info
(
"获取车辆信息返回消息:{}"
,
restResponse
.
getMessage
());
if
(
restResponse
.
getData
()
!=
null
)
{
if
(
restResponse
.
getData
()
!=
null
)
{
orderPageVO
.
setVehicalNumberPlat
(
restResponse
.
getData
().
getNumberPlate
());
orderPageVO
.
setVehicalNumberPlat
(
restResponse
.
getData
().
getNumberPlate
());
orderPageVO
.
setCode
(
restResponse
.
getData
().
getCode
());
orderPageVO
.
setCode
(
restResponse
.
getData
().
getCode
());
...
...
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