dever 3 년 전
부모
커밋
c20acf09fb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 {