Quellcode durchsuchen

Merge remote-tracking branch 'origin/dev' into dev

xupuyuan vor 11 Monaten
Ursprung
Commit
1b90b75398

+ 4 - 4
app/controller/api/store/product/Vip.php

@@ -50,7 +50,7 @@ class Vip extends BaseController
50 50
      * $params  参数
51 51
      * $request  应用级参数
52 52
      * */
53
-    public function getUrlResult($apiName, $method, $request = [])
53
+    public function getUrlResult($apiName, $method, $request = [], $version = '1.0.0')
54 54
     {
55 55
         if (empty($apiName)) {
56 56
             return false;
@@ -60,7 +60,7 @@ class Vip extends BaseController
60 60
         $requestParams = [
61 61
             'service' => $apiName,
62 62
             'method' => $method,
63
-            'version' => "1.0.0",
63
+            'version' => $version,
64 64
             'format' => 'JSON',
65 65
             'appKey' => "68979f85",
66 66
             'timestamp' => time(),
@@ -805,10 +805,10 @@ class Vip extends BaseController
805 805
             'requestId' => microtime(true) . rand(1000, 9999)
806 806
         ]);
807 807
         $orderLists = [];
808
-        $apiName = 'com.vip.adp.api.open.service.UnionOrderService';
808
+        $apiName = 'com.vip.adp.api.open.service.UnionOrderV2Service';
809 809
         do {
810 810
             $request = ['queryModel' => $queryModel];
811
-            $result = $this->getUrlResult($apiName, "orderList", $request);
811
+            $result = $this->getUrlResult($apiName, "orderList", $request, '2.0.0');
812 812
             log::info("vip===返回订单数据");
813 813
             log::info($result);
814 814
             $lists = $result['result']['orderInfoList'] ?? [];

+ 3 - 1
app/controller/api/store/service/Huafei.php

@@ -185,7 +185,9 @@ class Huafei extends BaseController
185 185
 			}else{
186 186
 				return app('json')->fail('创建话费充值预支付订单失败');
187 187
 			}
188
-		}else{
188
+        } elseif ($verify['code'] == '1004') {
189
+            return app('json')->fail('各位用户您好:因中国移动充值端口升级,目前暂时无法使用,恢复充值需要等待官方通知,感谢理解');
190
+        } else {
189 191
 			return app('json')->fail($verify['msg'].'MSG');
190 192
 		}
191 193
     }