|
@@ -47,7 +47,13 @@ class RedirectController extends Controller
|
|
|
$link = SendOrderService::getRedirectUrlById($param);
|
|
|
$query_param = $request->except('_url');
|
|
|
$query_param['soid'] = $param;
|
|
|
- $query_param['source'] = 'wechatmsg';
|
|
|
+ //判断是否强制到服务号阅读
|
|
|
+ if($link->force_show_qrcode)
|
|
|
+ {
|
|
|
+ Cookie::queue('force_show_qrcode', 1, 1);
|
|
|
+ }else{
|
|
|
+ $query_param['source'] = 'wechatmsg';
|
|
|
+ }
|
|
|
$query_param['stats'] = 3;
|
|
|
$query = '';
|
|
|
if ($query_param) {
|
|
@@ -110,11 +116,6 @@ class RedirectController extends Controller
|
|
|
$this->updateSendOrderTime($param, $uv);
|
|
|
}
|
|
|
|
|
|
- //判断是否强制到服务号阅读
|
|
|
- if($link->force_show_qrcode)
|
|
|
- {
|
|
|
- Cookie::queue('force_show_qrcode', 1, 1);
|
|
|
- }
|
|
|
//
|
|
|
$redirect_path = $request->get('redirect_path');
|
|
|
if($redirect_path){
|