fly 5 years ago
parent
commit
48194d7c6f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/Modules/User/Services/SiteUser.php

+ 1 - 2
app/Modules/User/Services/SiteUser.php

@@ -21,6 +21,7 @@ class SiteUser
     public function  __construct($openid)
     {
         $this->openid = $openid;
+        $this->users = [];
     }
 
     /**
@@ -35,8 +36,6 @@ class SiteUser
         ];
         foreach ($funcs as $func) {
             if (!$this->channel_id) {
-                //call_user_func($,$func);
-                //call_user_func([$this,$func]);
                 $this->$func();
             }
         }