草花返回值

master
xuexinpeng 2021-06-09 15:19:00 +08:00
parent bb8d984787
commit 70f05ea533
1 changed files with 6 additions and 1 deletions

View File

@ -84,7 +84,12 @@ public class CHGnRechargeController {
String response = insertOrder(data); String response = insertOrder(data);
if(response.equals("SUCCESS")){ if(response.equals("SUCCESS")){
LOGGER.info("successful xuexinpeng"); LOGGER.info("successful xuexinpeng");
return new ResponseEntity<>(HttpStatus.OK); Map<String,Object> map = new HashMap<String, Object>();
map.put("code",200);
map.put("msg","成功");
map.put("data","");
//return new ResponseEntity<>(HttpStatus.OK);
return new ResponseEntity<Map<String, Object>>(map, HttpStatus.OK);
}else{ }else{
return responseEntity; return responseEntity;
} }