cp 相互送礼 等级处理

This commit is contained in:
2025-11-20 10:37:08 +08:00
parent aaff62d46c
commit 4a67312897
2 changed files with 6 additions and 6 deletions

View File

@@ -522,7 +522,7 @@ class GiveGift extends Model
model('DailyTasks')->tasks_complete($uid,3);
}
//cp检测且处理升级事宜
$cp_type = model('api/UserCp')->checkGift($uid, $gid, $to_id, $from_id);//0-不处理1-表明心意2-组成Cp
$cp_type = model('api/UserCp')->checkGift($uid, $gid, $to_id, $from_id, $num);//0-不处理1-表明心意2-组成Cp
if($cp_type == 1){
$textt1 = "亲爱的用户,您好!\n".$FromUserInfo['nickname'] . ' 的 【' .$gift_info['gift_name'].' 】 已送达,这是他的心动信号。回赠一个,即可锁定这份缘分!';
$textt = '';