first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Helpers;
|
||||
|
||||
class RedirectLinkHelper
|
||||
{
|
||||
public static function get($packageName, $platform = null)
|
||||
{
|
||||
// $link = config('redirects.' . str_replace('.', '*', $packageName), "https://uzee.ir/$packageName");
|
||||
// if ($platform) {
|
||||
// $link .= ".$platform";
|
||||
// }
|
||||
// return $link;
|
||||
if($platform=="web"){
|
||||
return "https://fitvision.ir/FitnessApp/";
|
||||
|
||||
}
|
||||
return "fitvision://payment";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user