wzh 5 years ago
parent
commit
f6abab52a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/application/controllers/Common.php

+ 1 - 1
api/application/controllers/Common.php

@@ -34,7 +34,7 @@ class Common extends CI_Controller {
                 'id' => $user['id'],
                 'role' => intval($user['role']),
                 'name' => $user['name'],
-                'avatar' => empty($user['avatar']) ? '' : base_url($user['avatar']);
+                'avatar' => empty($user['avatar']) ? '' : base_url($user['avatar'])
             );
             
             $this->userinfo = $user;