Commit 2ef584ff authored by suichenguang's avatar suichenguang

测试接口

parent b06e9470
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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment