dever 3 years ago
parent
commit
c20acf09fb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      service/option/lib/Agreement.php

+ 2 - 1
service/option/lib/Agreement.php

@@ -23,8 +23,9 @@ class Agreement
         if ($source == 2) {
             # 获取当前登录的uid
             $aid = Dever::load('passport/user')->check(false);
+            $aid = 2;
             if (!$aid || $aid <= 0) {
-                //Dever::alert('请先登录');
+                Dever::alert('请先登录');
             }
             
         } else {