xiaoyu hace 2 años
padre
commit
79e4fa9ee0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,