|
|
|
@ -291,7 +291,7 @@ public class EmailMaintainController extends AbstractController { |
|
|
|
|
String jsonString = Base64.encode(json.toJSONString()); |
|
|
|
|
return ResponseEntity.ok(R.ok().put("data",jsonString)); |
|
|
|
|
}else{ |
|
|
|
|
R result = new R(500,"未查询到用户名为"+userName+"数据"); |
|
|
|
|
R result = new R(500,"未查询到该用户"); |
|
|
|
|
// return ResponseEntity.ok(R.error().put("data","未查询到用户名为"+userName+"数据"));
|
|
|
|
|
return ResponseEntity.ok(result); |
|
|
|
|
} |
|
|
|
|