shish 2 lat temu
rodzic
commit
7952b02c46
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      app-ghs/controllers/TestController.php

+ 5 - 5
app-ghs/controllers/TestController.php

@@ -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;