Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
2ef584ff
Commit
2ef584ff
authored
Mar 03, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试接口
parent
b06e9470
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
PackageInformationApi.java
...om/yxproject/start/api/fakeApi/PackageInformationApi.java
+74
-0
No files found.
src/main/java/com/yxproject/start/api/fakeApi/PackageInformationApi.java
0 → 100644
View file @
2ef584ff
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"PackageInformation"
)
public
class
PackageInformationApi
{
@RequestMapping
(
"selectInformation"
)
public
String
selectInformation
(
@RequestBody
String
requestStr
){
String
result
=
" {\n"
+
" commonCardCount: 2300,\n"
+
" postCardCount: 1200,\n"
+
" forbiddenCount: 2,\n"
+
" countyList: [\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '张三',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" },\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '里斯',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" },\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '王五',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" }\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '张三',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" },\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '里斯',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" },\n"
+
" {\n"
+
" uploadNo: '411032546565445',\n"
+
" name: '李四',\n"
+
" cardId: '130133195608240013',\n"
+
" oldPackageNo: '1321454113',\n"
+
" newPackageNo:'1213134556'\n"
+
" cardType:'普通证'\n"
+
" },\n"
+
" ]\n"
+
" },\n"
;
return
result
;
}
}
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