MainUserService service = new MainUserServiceImpl();
int ret= 0;
try {
if (approve.equals("1")) {
ret = service.enableMainUser(loginname);
} else if (approve.equals("0")) {
ret = service.disabledMainUser(loginname);
}
} catch (ServiceException e) {
String json = "{\"status\":\"0\",\"message\":\"�����û�ʧ��!\",\"result\":\""+e.getMessage()+"\"}";