交友房 送礼
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user