stanley-king 4 rokov pred
rodič
commit
a36fd924e9

+ 1 - 1
data/config/prod/refill.ini.php

@@ -44,6 +44,6 @@ $bjb_phone = ['name' => 'bjb', 'store_id' => 12, 'card_type' => ['chinaunicom',
     'refill_type' => 'api'];
 
 
-$phone_providers = ['bxtwt' => $bxtwt_phone];
+$phone_providers = ['bjb' => $bjb_phone];
 //$phone_providers = ['beixt' => $beixt_phone, 'bxtwt' => $bxtwt_phone, 'bjb' => $bjb_phone];
 $config['phone_providers'] = $phone_providers;

+ 0 - 4
helper/fcgi_server.php

@@ -115,10 +115,6 @@ class fcgi_server
                         if($act != 'refill') {
                             session::instance()->start();
                             Log::record("member_id=" . session_helper::memberid(),Log::DEBUG);
-
-                        }
-                        else {
-
                         }
 
                         Base::mobile_control();

+ 8 - 8
helper/rbridge/wsd/config.php

@@ -4,14 +4,14 @@ namespace rbridge\wsd;
 
 class config
 {
-//    const MCHID = 1;
-//    const MCH_KEY  = '1ff02223b771c0414468c8892151c602';
-//    const MCH_NOTIFY_URL = 'wsd';
-
-    const MCHID = 1093;
-    const MCH_KEY  = '210fe406954220f56085997d6a4c5b80';
+    const MCHID = 1;
+    const MCH_KEY  = '1ff02223b771c0414468c8892151c602';
     const MCH_NOTIFY_URL = 'wsd';
 
-    const BridgeKey = 'bff0378ea5ef0d5d';
-    const BridgeNotifyURL = 'https://www.xyzshops.cn/mobile/signature.php';
+//    const MCHID = 1093;
+//    const MCH_KEY  = '210fe406954220f56085997d6a4c5b80';
+//    const MCH_NOTIFY_URL = 'wsd';
+
+    const BridgeKey = 'ac59f54faf1ffcc1';
+    const BridgeNotifyURL = 'http://121.37.249.48:10000/Callback';
 }

+ 0 - 1
test/TestRBridge.php

@@ -56,7 +56,6 @@ class TestRBridge extends TestCase
     public function testCallBack()
     {
         refill\RefillFactory::instance()->notify_merchant(304);
-
     }
 
     private function make_sn()