|
@@ -132,9 +132,11 @@ class WxContRepositories
|
|
|
$chat_content_ = _mini_emoji($chatModel->chat_content, true);
|
|
|
}
|
|
|
}
|
|
|
- Utils::templateMessage($oid, '收到了私信', $chat_content_, Carbon::parse($chatModel->created_at)->format('Y年m月d日 H:i'), '', '点击可查看详情');
|
|
|
- Utils::app_push(UserUtils::get_cached_user($uid)['user_name'], $chat_content_, 999, ['target_type'=>18, 'target_id'=>$uid], 'single', [$oid], 0);
|
|
|
- UserUtils::add_user_experience($uid, 7);
|
|
|
+ if(_empty_($ask_order_id)){
|
|
|
+ Utils::templateMessage($oid, '收到了私信', $chat_content_, Carbon::parse($chatModel->created_at)->format('Y年m月d日 H:i'), '', '点击可查看详情');
|
|
|
+ Utils::app_push(UserUtils::get_cached_user($uid)['user_name'], $chat_content_, 999, ['target_type'=>18, 'target_id'=>$uid], 'single', [$oid], 0);
|
|
|
+ UserUtils::add_user_experience($uid, 7);
|
|
|
+ }
|
|
|
}else{
|
|
|
return null;
|
|
|
}
|