songdb 6 years ago
parent
commit
691249e3c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Libs/Pay/Merchants/OriginBank.php

+ 2 - 2
app/Libs/Pay/Merchants/OriginBank.php

@@ -46,11 +46,11 @@ class OriginBank
         dump($data);
 
         dump($this->decrypt2($base_data['data'],$this->open_key));
-        $base_data['sign'] = $this->signs($data);
+        $base_data['sign'] = $this->signs(array_merge($data,$base_data));
 
         dump('base_data');dd($base_data);
 
-        $response = $this->PayClient->request('POST','mct1/payorder',['form_params'=>$base_data])->getBody()->getContents();
+        $response = $this->PayClient->request('POST','/mct1/payorder',['form_params'=>$base_data])->getBody()->getContents();
         dd(json_decode($response,1));
        // return $this->getPayInfo($response);
     }