dever 4 anni fa
parent
commit
1b9e6bf20f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
         }
     }