stanley-king 4 年之前
父节点
当前提交
864b453aef

+ 3 - 3
docker/conf/nginx/nginx-acc-http.conf

@@ -73,7 +73,7 @@ http
 
         location ~ /mobile/[/\w]+\.php$ {
             root           $folder_name;
-            fastcgi_pass   172.16.110.28:9100;
+            fastcgi_pass   docker.hostip:9100;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include fastcgi_params;
@@ -85,7 +85,7 @@ http
 
         location ~ /racc/[/\w]+\.php$ {
             root           $folder_name;
-            fastcgi_pass   172.16.110.28:9101;
+            fastcgi_pass   docker.hostip:9101;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include fastcgi_params;
@@ -94,7 +94,7 @@ http
         location ~ \.php$ {
 	        add_header Cache-Control no-store;
             root           $folder_name;
-            fastcgi_pass   172.16.110.28:9000;
+            fastcgi_pass   docker.hostip:9000;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include        fastcgi_params;

+ 3 - 3
docker/conf/nginx/nginx-linz-https.conf

@@ -80,7 +80,7 @@ http
 
         location ~ /mobile/[/\w]+\.php$ {
             root           $folder_name;
-            fastcgi_pass   mobilesrv:9100;
+            fastcgi_pass   docker.hostip:9100;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include fastcgi_params;
@@ -88,7 +88,7 @@ http
 
         location ~ /racc/[/\w]+\.php$ {
             root           $folder_name;
-            fastcgi_pass   raccsrv:9101;
+            fastcgi_pass   docker.hostip:9101;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include fastcgi_params;
@@ -101,7 +101,7 @@ http
         location ~ \.php$ {
             add_header Cache-Control no-store;
             root           $folder_name;
-            fastcgi_pass   websrv:9000;
+            fastcgi_pass   docker.hostip:9000;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             include        fastcgi_params;

+ 0 - 2
helper/refill/ProviderManager.php

@@ -11,8 +11,6 @@ require_once(BASE_HELPER_PATH . '/refill/IRefillCallBack.php');
 require_once(BASE_HELPER_PATH . '/refill/CalcMerchantPrice.php');
 require_once(BASE_HELPER_PATH . '/refill/util.php');
 
-//require_once(BASE_HELPER_RAPI_PATH . '/api.php');
-
 use Log;
 use mtopcard;
 use Exception;

+ 2 - 2
helper/refill/api/xyz/lingzh/config.php

@@ -6,8 +6,8 @@ namespace refill\lingzh;
 
 class config
 {
-    const PAY_PHONE_URL = 'http://121.89.212.167/racc/index.php';
-    const QUERY_URL= 'http://121.89.212.167/racc/index.php';
+    const PAY_PHONE_URL = 'https://www.lzkj168.cn/racc/index.php';
+    const QUERY_URL= 'https://www.lzkj168.cn/racc/index.php';
     const USR= 9618;
     const KEY = 'fa0a841bdb424b6e1ac76148e9fdc7a8';
     const API_IP = NET_IP;

+ 5 - 6
rdispatcher/proxy.php

@@ -49,14 +49,13 @@ class proxy
 
             if($fNotify)
             {
-                if($order_id === 0)
+                if ($order_id === 0)
                 {
-                    $order_info = $this->latest_order($refill_order,$mchid,$mch_order);
-                    if(empty($order_info)) {
+                    $order_info = $this->latest_order($refill_order, $mchid, $mch_order);
+                    if (empty($order_info)) {
                         $order_id = refill\RefillFactory::instance()->zero_order($mchid, $buyer_id, $amount, $card_no,
-                            $mch_order, $idcard, $card_name, $notify_url,$quality, $order_time, $commit_times,$errmsg);
-                    }
-                    else {
+                            $mch_order, $idcard, $card_name, $notify_url, $quality, $order_time, $commit_times, $errmsg);
+                    } else {
                         $order_id = $order_info['order_id'];
                     }
                 }