|
@@ -24,6 +24,13 @@ class RedirectController extends Controller
|
|
|
public function index(Request $request, $t, $domain, $param)
|
|
|
{
|
|
|
$h5_scheme = 'https';
|
|
|
+ //判断派单链接有没有进黑名单
|
|
|
+ $black_send_order_ids = explode(',', env('BLACK_SEND_ORDER_IDS'));
|
|
|
+ if(in_array($param,$black_send_order_ids))
|
|
|
+ {
|
|
|
+ abort(404);
|
|
|
+ }
|
|
|
+
|
|
|
if(is_numeric($t)){
|
|
|
//不是加密site 重定向到加密site
|
|
|
$domain_distribution_channel_id = $t;
|