交友房 送礼

This commit is contained in:
2025-08-30 09:15:05 +08:00
parent bfcd39f657
commit 44050a6128
2 changed files with 3 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
namespace app\api\model;
use think\Db;
use think\Log;
use think\Model;
class Friend extends Model
@@ -285,6 +286,7 @@ class Friend extends Model
if($res['code'] != 1){
return $res;
}
Log::record("交友房送礼".json_encode($res),"inFo");
//送礼成功后续操作
//查看当前时间是否在交友表的创建时间和结束时间段内 用来区分是否要拉取心动值高的用户上麦
$friend = db::name('vs_user_friending')->where(['room_id' => $room_id,'status' => 1])->order('id desc')->find();

View File

@@ -205,7 +205,7 @@ class Tencent extends Model
$curlPost = json_encode($curlPost);
$reslut = $this->tencent_post_url($postUrl, $curlPost);
Log::record("腾讯群内系统消息发送结果".json_encode($reslut),"info");
// Log::record("腾讯群内系统消息发送结果".json_encode($reslut),"info");
if($reslut['ActionStatus'] == 'OK'){
return ['code' => 1, 'msg' => '发送成功', 'data' => $reslut];
}else{