panda 1 year ago
parent
commit
82fde36cef
1 changed files with 5 additions and 5 deletions
  1. 5 5
      application/api/controller/Index.php

+ 5 - 5
application/api/controller/Index.php

@@ -757,11 +757,11 @@ class Index extends Api
             'user_id' => $this->auth->id,
             'user_to_id' => $other_uid,
         ];
-
-        $check = Db::name('user_greet')->where($map)->find();
-        if($check){
-            $this->error('已经打过招呼了');
-        }
+        // 取消限制 2023年12月14日 18点47分
+//        $check = Db::name('user_greet')->where($map)->find();
+//        if($check){
+//            $this->error('已经打过招呼了');
+//        }
 
         $map['createtime'] = time();