Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-webapp-plug
Commits
5a61b3d4
Commit
5a61b3d4
authored
Jul 05, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
省市区
parent
19595791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ProvincesController.java
...java/com/gic/plug/web/controller/ProvincesController.java
+2
-2
No files found.
src/main/java/com/gic/plug/web/controller/ProvincesController.java
View file @
5a61b3d4
...
@@ -75,7 +75,7 @@ public class ProvincesController {
...
@@ -75,7 +75,7 @@ public class ProvincesController {
@ResponseBody
@ResponseBody
public
Object
searchCitys
(
String
search
){
public
Object
searchCitys
(
String
search
){
if
(
StringUtils
.
isBlank
(
search
)){
if
(
StringUtils
.
isBlank
(
search
)){
RestResponse
.
failure
(
ErrorCode
.
ERR_2
.
getCode
(),
ErrorCode
.
ERR_2
.
getMsg
());
return
RestResponse
.
failure
(
ErrorCode
.
ERR_2
.
getCode
(),
ErrorCode
.
ERR_2
.
getMsg
());
}
}
ServiceResponse
<
List
<
CityDTO
>>
serviceResponse
=
this
.
provincesApiService
.
queryCity
(
search
);
ServiceResponse
<
List
<
CityDTO
>>
serviceResponse
=
this
.
provincesApiService
.
queryCity
(
search
);
if
(
serviceResponse
.
isSuccess
()){
if
(
serviceResponse
.
isSuccess
()){
...
@@ -88,7 +88,7 @@ public class ProvincesController {
...
@@ -88,7 +88,7 @@ public class ProvincesController {
@ResponseBody
@ResponseBody
public
Object
searchCounty
(
String
search
){
public
Object
searchCounty
(
String
search
){
if
(
StringUtils
.
isBlank
(
search
)){
if
(
StringUtils
.
isBlank
(
search
)){
RestResponse
.
failure
(
ErrorCode
.
ERR_2
.
getCode
(),
ErrorCode
.
ERR_2
.
getMsg
());
return
RestResponse
.
failure
(
ErrorCode
.
ERR_2
.
getCode
(),
ErrorCode
.
ERR_2
.
getMsg
());
}
}
ServiceResponse
<
List
<
CountyDTO
>>
serviceResponse
=
this
.
provincesApiService
.
queryCounty
(
search
);
ServiceResponse
<
List
<
CountyDTO
>>
serviceResponse
=
this
.
provincesApiService
.
queryCounty
(
search
);
if
(
serviceResponse
.
isSuccess
()){
if
(
serviceResponse
.
isSuccess
()){
...
...
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