public static boolean isLogin() { Customer customer = Customer.getInstance(); if (customer.getLogin() == true) { return true; } return false; }
public static void setCustomer(Customer mc) { Customer customer = Customer.getInstance(); customer.setId(mc.getId()); customer.setSid(mc.getSid()); customer.setName(mc.getName()); customer.setSign(mc.getSign()); customer.setFace(mc.getFace()); }
public static Customer getCustomer() { return Customer.getInstance(); }
public static void setLogin(Boolean status) { Customer customer = Customer.getInstance(); customer.setLogin(status); }