rabin hace 3 años
padre
commit
913c884e67
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      service/agent/src/My.php

+ 2 - 0
service/agent/src/My.php

@@ -63,6 +63,8 @@ class My extends Core
         $this->data['config'] = Dever::db('setting/base')->one();
         if ($this->data['config']['active'] == 2) {
             $this->data['config']['active'] = 0;
+        } else {
+            $this->data['config']['active'] = 1;
         }
 
         # 获取团队数量