dever %!s(int64=4) %!d(string=hai) anos
pai
achega
1b9e6bf20f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/user/src/Api.php

+ 1 - 1
app/user/src/Api.php

@@ -11,7 +11,7 @@ class Api extends Core
     {
         parent::__construct();
         if ($this->uid <= 0) {
-            Dever::alert('请先登录');
+            Dever::alert('请先登录', -2);
         }
     }