|
@@ -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();
|
|
|
|