|
@@ -56,9 +56,9 @@ class TestController extends BaseController
|
|
|
$statusName = '出错了';
|
|
$statusName = '出错了';
|
|
|
if ($response['retCode'] == '000000') {
|
|
if ($response['retCode'] == '000000') {
|
|
|
$checkResult = $response['respData']['checkResult'] ?? '';
|
|
$checkResult = $response['respData']['checkResult'] ?? '';
|
|
|
- $statusName = '未授权';
|
|
|
|
|
|
|
+ $statusName = '未确认';
|
|
|
if ($checkResult == 'AUTHORIZE_STATE_AUTHORIZED ') {
|
|
if ($checkResult == 'AUTHORIZE_STATE_AUTHORIZED ') {
|
|
|
- $statusName = '已授权';
|
|
|
|
|
|
|
+ $statusName = '已确认';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
$group[] = '微信 ' . $oneWx . ' ' . $statusName;
|
|
$group[] = '微信 ' . $oneWx . ' ' . $statusName;
|
|
@@ -81,9 +81,9 @@ class TestController extends BaseController
|
|
|
$statusName = '出错了';
|
|
$statusName = '出错了';
|
|
|
if ($response['retCode'] == '000000') {
|
|
if ($response['retCode'] == '000000') {
|
|
|
$checkResult = $response['respData']['checkResult'] ?? '';
|
|
$checkResult = $response['respData']['checkResult'] ?? '';
|
|
|
- $statusName = '未授权';
|
|
|
|
|
- if ($checkResult == 'AUTHORIZE_STATE_AUTHORIZED ') {
|
|
|
|
|
- $statusName = '已授权';
|
|
|
|
|
|
|
+ $statusName = '未确认';
|
|
|
|
|
+ if ($checkResult == 'AUTHORIZED ') {
|
|
|
|
|
+ $statusName = '已确认';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
$group[] = '支付宝 ' . $zfb . ' ' . $statusName;
|
|
$group[] = '支付宝 ' . $zfb . ' ' . $statusName;
|