feat: 修改 Facebook 事件处理逻辑,更新事件类型为 1
This commit is contained in:
parent
755cf15794
commit
8b54ec63a8
|
@ -24,7 +24,7 @@ class RecommendController
|
||||||
$Recommend = Recommend::where('invite_code', $invite_code)->first();
|
$Recommend = Recommend::where('invite_code', $invite_code)->first();
|
||||||
if (!empty($Recommend)) {
|
if (!empty($Recommend)) {
|
||||||
$ip=$request->getRealIp($safe_mode = true);
|
$ip=$request->getRealIp($safe_mode = true);
|
||||||
Facebook::handleEvent(3, $invite_code, $ip);
|
Facebook::handleEvent(1, $invite_code, $ip);
|
||||||
return redirect("https://v8job.online/#/reg?i=$invite_code", 302);
|
return redirect("https://v8job.online/#/reg?i=$invite_code", 302);
|
||||||
}
|
}
|
||||||
return redirect("https://v8job.online/#/", 302);
|
return redirect("https://v8job.online/#/", 302);
|
||||||
|
|
Loading…
Reference in New Issue