generated from root/miduo_server
草花返回值
parent
bb8d984787
commit
70f05ea533
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue