wx pay debug

This commit is contained in:
devil_gong 2019-05-24 14:44:11 +08:00
parent 5852b20bfb
commit 692cc64258
2 changed files with 3 additions and 1 deletions

View File

@ -95,6 +95,7 @@
<table class="am-table am-table-striped">
<thead>
<tr>
<th>商品信息</th>
<th>申请信息</th>
<th class="am-hide-sm-only">凭证</th>
<th>状态</th>
@ -106,6 +107,7 @@
{{if !empty($data_list)}}
{{foreach $data_list as $v}}
<tr>
<td>商品信息</td>
<td>
类型:{{$v.type_text}}<br />
原因:{{$v.reason}}<br />

View File

@ -280,7 +280,7 @@ 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['h5'];
$type_all['pc'] = $type_all['weixin'];
}
return isset($type_all[APPLICATION_CLIENT_TYPE]) ? $type_all[APPLICATION_CLIENT_TYPE] : '';
}