yun-zuoyi
alwaysfrin 7 years ago
commit bcf28a2f7d

@ -41,14 +41,14 @@ public class DemoCloudController {
@GetMapping(value="/test") @GetMapping(value="/test")
@ApiOperation(value="core测试",notes = "core测试") @ApiOperation(value="core测试",notes = "core测试")
public ResultBean testCore(@RequestParam("test") String test) { public ResultBean testCore(String test) {
LOGGER.info("{}{}【impp-core接受数据】{}",ipAddress,serverPort,test); LOGGER.info("{}{}【impp-core接受数据】{}",ipAddress,serverPort,test);
return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()); return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
} }
@GetMapping(value="/test-wms") @GetMapping(value="/test-wms")
@ApiOperation(value="wms测试",notes = "wms测试") @ApiOperation(value="wms测试",notes = "wms测试")
public ResultBean testWms(@RequestParam("test") String test) { public ResultBean testWms(String test) {
LOGGER.info("【{}{}impp-core接受数据 -> wms】{}",ipAddress,serverPort,test); LOGGER.info("【{}{}impp-core接受数据 -> wms】{}",ipAddress,serverPort,test);
BaseResultBean result = iWmsDemoCloud.testWms(test); BaseResultBean result = iWmsDemoCloud.testWms(test);
@ -62,21 +62,21 @@ public class DemoCloudController {
@GetMapping(value="/test-get") @GetMapping(value="/test-get")
@ApiOperation(value="测试get",notes = "测试get") @ApiOperation(value="测试get",notes = "测试get")
public ResultBean testFeignGet(@RequestParam("test") String test) { public ResultBean testFeignGet(String test) {
LOGGER.info("【impp-core-get接受数据】{}" ,test); LOGGER.info("【impp-core-get接受数据】{}" ,test);
return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()); return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
} }
@PostMapping(value="/test-post") @PostMapping(value="/test-post")
@ApiOperation(value="测试post",notes = "测试post") @ApiOperation(value="测试post",notes = "测试post")
public ResultBean testFeignPost(@RequestParam("test") String test) { public ResultBean testFeignPost(String test) {
LOGGER.info("【impp-core-post接受数据】{}" ,test); LOGGER.info("【impp-core-post接受数据】{}" ,test);
return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()); return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
} }
@PutMapping(value="/test-put") @PutMapping(value="/test-put")
@ApiOperation(value="put接受数据",notes = "put接受数据") @ApiOperation(value="put接受数据",notes = "put接受数据")
public ResultBean testPut(@RequestParam("test") String test,@RequestParam("name") String name) { public ResultBean testPut(String test,String name) {
LOGGER.info("【impp-core-put接受数据】param1:{},param2:{}", test,name); LOGGER.info("【impp-core-put接受数据】param1:{},param2:{}", test,name);
return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()); return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
} }
@ -92,7 +92,7 @@ public class DemoCloudController {
@PutMapping(value="/test-cloud-put") @PutMapping(value="/test-cloud-put")
@ApiOperation(value="测试cloudput",notes = "测试cloudput") @ApiOperation(value="测试cloudput",notes = "测试cloudput")
public ResultBean putTestCloud(@RequestParam("name") String test,@RequestParam("name") String name) { public ResultBean putTestCloud(String test,String name) {
LOGGER.info("【impp-core-put接受数据】test:{},name:{}",test,name); LOGGER.info("【impp-core-put接受数据】test:{},name:{}",test,name);
return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()); return ResultBean.success("返回:" + test).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
} }

Loading…
Cancel
Save