cp 相互送礼 等级处理
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user