diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index 82f5a2042a19174c127b187b6ad61e163c122d97..5b9ccdc53ab85250cd34e5d69475c989568164ce 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -288,10 +288,10 @@ class Weixin // 微信中打开 $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; - if(!empty($user_agent) && strpos($user_agent, 'MicroMessenger') !== false) - { - $type_all['pc'] = $type_all['weixin']; - } + // if(!empty($user_agent) && strpos($user_agent, 'MicroMessenger') !== false) + // { + // $type_all['pc'] = $type_all['weixin']; + // } return isset($type_all[APPLICATION_CLIENT_TYPE]) ? $type_all[APPLICATION_CLIENT_TYPE] : ''; }