예제 #1
0
 public static boolean isLogin() {
   Customer customer = Customer.getInstance();
   if (customer.getLogin() == true) {
     return true;
   }
   return false;
 }
예제 #2
0
 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());
 }
예제 #3
0
 public static Customer getCustomer() {
   return Customer.getInstance();
 }
예제 #4
0
 public static void setLogin(Boolean status) {
   Customer customer = Customer.getInstance();
   customer.setLogin(status);
 }