|
@ -74,7 +74,7 @@ public class CustomerController extends BaseController {
|
|
|
wlyyCustomerLog.setUser(curUser.getCode());
|
|
|
wlyyCustomerLog.setType(1);
|
|
|
wlyyCustomerLogService.save(wlyyCustomerLog);
|
|
|
return write(1,"登入成功","user",curUser);
|
|
|
return write(200,"登入成功","user",curUser);
|
|
|
}
|
|
|
}
|
|
|
|
|
@ -92,7 +92,7 @@ public class CustomerController extends BaseController {
|
|
|
wlyyCustomerLog.setUser(code);
|
|
|
wlyyCustomerLog.setType(0);
|
|
|
wlyyCustomerLogService.save(wlyyCustomerLog);
|
|
|
return write(1,"退出成功");
|
|
|
return write(200,"退出成功");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -126,7 +126,7 @@ public class CustomerController extends BaseController {
|
|
|
}
|
|
|
Map<String, Object> resp = customerService.findServerInfo(patient);
|
|
|
resp.put("patient",patient);
|
|
|
return write(1,"查询成功","data",resp);
|
|
|
return write(200,"查询成功","data",resp);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -144,6 +144,6 @@ public class CustomerController extends BaseController {
|
|
|
}
|
|
|
Map<String, Object> resp = customerService.findServerInfo(patient);
|
|
|
resp.put("patient",patient);
|
|
|
return write(1,"查询成功","data",resp);
|
|
|
return write(200,"查询成功","data",resp);
|
|
|
}
|
|
|
}
|