Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
da1b8743
Commit
da1b8743
authored
Feb 25, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改小白卡接口参数
parent
190bd4a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
new-user/src/main/java/com/winsun/common/CityCode.java
+3
-4
new-user/src/main/java/com/winsun/controller/PackageNewClothes.java
+6
-1
No files found.
new-user/src/main/java/com/winsun/common/CityCode.java
View file @
da1b8743
...
...
@@ -352,11 +352,11 @@ public enum CityCode {
c8654300
(
"8654300"
,
"阿勒泰地区"
),
c8659000
(
"8659000"
,
"自治区直辖县级行政区划"
);
private
String
city
;
private
String
code
;
CityCode
(
String
city
,
String
code
)
{
private
String
city
;
CityCode
(
String
code
,
String
city
)
{
this
.
city
=
city
;
this
.
code
=
code
;
}
...
...
@@ -378,5 +378,4 @@ public enum CityCode {
}
return
""
;
}
}
new-user/src/main/java/com/winsun/controller/PackageNewClothes.java
View file @
da1b8743
...
...
@@ -470,9 +470,14 @@ public class PackageNewClothes {
return
ResponseData
.
error
(
"请选择邮寄地区"
);
}
String
code
=
CityCode
.
getCodeByCity
(
shi
);
if
(
StringUtils
.
isBlank
(
code
))
{
return
ResponseData
.
error
(
"所选地区小白卡无法配送"
);
}
// 根据市获取编号
jsonObject
=
XbkUtil
.
xbkOrderJT0002
(
businessNumber
,
idCard
,
customerName
,
contactNumber
,
xbId
,
netId
,
CityCode
.
getCodeByCity
(
shi
)
,
address
);
customerName
,
contactNumber
,
xbId
,
netId
,
code
,
address
);
}
catch
(
Exception
e
)
{
log
.
error
(
"小白卡下单接口调用异常"
,
e
.
getMessage
());
}
...
...
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