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
0af95d09
Commit
0af95d09
authored
Aug 30, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://113.105.137.151:22280/youjj/cloud-platform
into dev
parents
1da7424b
82a203b8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
11 deletions
+16
-11
AppAuthServiceImpl.java
...xiaoqi/security/auth/service/impl/AppAuthServiceImpl.java
+3
-3
AuthServiceImpl.java
...b/wxiaoqi/security/auth/service/impl/AuthServiceImpl.java
+3
-3
CampsiteShopBiz.java
.../java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
+1
-1
TourGoodBiz.java
...src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
+1
-1
TypeEnum.java
...api/src/main/java/com/xxfc/platform/uccn/vo/TypeEnum.java
+2
-2
RandomListBiz.java
...c/main/java/com/xxfc/platform/uccn/biz/RandomListBiz.java
+5
-0
VehicleModelBiz.java
...n/java/com/xxfc/platform/vehicle/biz/VehicleModelBiz.java
+1
-1
No files found.
ace-auth/ace-auth-server/src/main/java/com/github/wxiaoqi/security/auth/service/impl/AppAuthServiceImpl.java
View file @
0af95d09
...
@@ -123,16 +123,16 @@ public class AppAuthServiceImpl implements AuthService {
...
@@ -123,16 +123,16 @@ public class AppAuthServiceImpl implements AuthService {
public
ObjectRestResponse
checkToken
(
String
token
)
{
public
ObjectRestResponse
checkToken
(
String
token
)
{
try
{
try
{
if
(
StringUtils
.
isEmpty
(
token
)){
if
(
StringUtils
.
isEmpty
(
token
)){
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NULL_CODE
,
"参数不能为空"
);
return
ObjectRestResponse
.
createFailedResult
(
10003
,
"参数不能为空"
);
}
}
IJWTInfo
ijwtInfo
=
jwtTokenUtil
.
getInfoFromToken
(
token
);
IJWTInfo
ijwtInfo
=
jwtTokenUtil
.
getInfoFromToken
(
token
);
if
(
ijwtInfo
==
null
){
if
(
ijwtInfo
==
null
){
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NOTEXIST_CODE
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NOTEXIST_CODE
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
}
}
...
...
ace-auth/ace-auth-server/src/main/java/com/github/wxiaoqi/security/auth/service/impl/AuthServiceImpl.java
View file @
0af95d09
...
@@ -120,16 +120,16 @@ public class AuthServiceImpl implements AuthService {
...
@@ -120,16 +120,16 @@ public class AuthServiceImpl implements AuthService {
public
ObjectRestResponse
checkToken
(
String
token
)
{
public
ObjectRestResponse
checkToken
(
String
token
)
{
try
{
try
{
if
(
StringUtils
.
isEmpty
(
token
)){
if
(
StringUtils
.
isEmpty
(
token
)){
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NULL_CODE
,
"参数不能为空"
);
return
ObjectRestResponse
.
createFailedResult
(
10003
,
"参数不能为空"
);
}
}
IJWTInfo
ijwtInfo
=
jwtTokenUtil
.
getInfoFromToken
(
token
);
IJWTInfo
ijwtInfo
=
jwtTokenUtil
.
getInfoFromToken
(
token
);
if
(
ijwtInfo
==
null
){
if
(
ijwtInfo
==
null
){
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NOTEXIST_CODE
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NOTEXIST_CODE
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
}
}
...
...
xx-campsite/xx-campsite-server/src/main/java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
View file @
0af95d09
...
@@ -343,7 +343,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
...
@@ -343,7 +343,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
List
<
GoodDataVO
>
list
=
mapper
.
findAll
();
List
<
GoodDataVO
>
list
=
mapper
.
findAll
();
Set
<
GoodDataVO
>
resultList
=
new
HashSet
<>();
Set
<
GoodDataVO
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
View file @
0af95d09
...
@@ -334,7 +334,7 @@ public class TourGoodBiz extends BaseBiz<TourGoodMapper, TourGood> {
...
@@ -334,7 +334,7 @@ public class TourGoodBiz extends BaseBiz<TourGoodMapper, TourGood> {
List
<
TourGood
>
list
=
mapper
.
getCoordinateList
(
param
);
List
<
TourGood
>
list
=
mapper
.
getCoordinateList
(
param
);
Set
<
TourGood
>
resultList
=
new
HashSet
<>();
Set
<
TourGood
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
xx-uccn/xx-uccn-api/src/main/java/com/xxfc/platform/uccn/vo/TypeEnum.java
View file @
0af95d09
...
@@ -6,8 +6,8 @@ public enum TypeEnum {
...
@@ -6,8 +6,8 @@ public enum TypeEnum {
VEHICLE
(
1
,
"车型"
),
VEHICLE
(
1
,
"车型"
),
TOUR
(
2
,
"旅游"
),
TOUR
(
2
,
"旅游"
),
CAMPSITE
(
3
,
"营地"
),
CAMPSITE
(
3
,
"营地"
),
ACTIVITY
(
4
,
"活动"
)
;
ACTIVITY
(
4
,
"活动"
)
,
NEWS
(
5
,
"新闻"
);
private
Integer
code
;
private
Integer
code
;
private
String
msg
;
private
String
msg
;
...
...
xx-uccn/xx-uccn-server/src/main/java/com/xxfc/platform/uccn/biz/RandomListBiz.java
View file @
0af95d09
...
@@ -28,6 +28,9 @@ public class RandomListBiz {
...
@@ -28,6 +28,9 @@ public class RandomListBiz {
@Autowired
@Autowired
SummitActivityBiz
summitActivityBiz
;
SummitActivityBiz
summitActivityBiz
;
@Autowired
ArticleBiz
articleBiz
;
/**
/**
* @param type 类型
* @param type 类型
...
@@ -46,6 +49,8 @@ public class RandomListBiz {
...
@@ -46,6 +49,8 @@ public class RandomListBiz {
return
campsiteFeign
.
findRandomVehicle
(
number
);
return
campsiteFeign
.
findRandomVehicle
(
number
);
case
ACTIVITY:
case
ACTIVITY:
return
ObjectRestResponse
.
succ
(
summitActivityBiz
.
getHostWithSummitActivity
(
number
,
location
));
return
ObjectRestResponse
.
succ
(
summitActivityBiz
.
getHostWithSummitActivity
(
number
,
location
));
case
NEWS:
}
}
}
}
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleModelBiz.java
View file @
0af95d09
...
@@ -83,7 +83,7 @@ public class VehicleModelBiz extends BaseBiz<VehicleModelMapper, VehicleModel> {
...
@@ -83,7 +83,7 @@ public class VehicleModelBiz extends BaseBiz<VehicleModelMapper, VehicleModel> {
List
<
VehicleModelVo
>
list
=
mapper
.
findVehicleModelPage
(
vmqc
);
List
<
VehicleModelVo
>
list
=
mapper
.
findVehicleModelPage
(
vmqc
);
Set
<
VehicleModelVo
>
resultList
=
new
HashSet
<>();
Set
<
VehicleModelVo
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
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