xiaoyu 2 vuotta sitten
vanhempi
commit
79e4fa9ee0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      helper/refill/api/xyz/douxun/RefillPhone.php

+ 1 - 1
helper/refill/api/xyz/douxun/RefillPhone.php

@@ -113,7 +113,7 @@ class RefillPhone extends refill\IRefillPhone
         $head['version'] = 1;
 
         $content = $head['custInteId'] . config::KEY . $head['echo'] . $head['timestamp'];
-        $head['chargeSign'] = base64_encode(md5($content));
+        $head['chargeSign'] = base64_encode(md5($content, true));
 
         $data = [
             'head' => $head,