Browse Source

debug legou

stanley-king 4 years ago
parent
commit
3e4fcb2d4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      helper/refill/api/lingzh/legou/RefillPhone.php

+ 1 - 1
helper/refill/api/lingzh/legou/RefillPhone.php

@@ -136,7 +136,7 @@ class RefillPhone extends refill\IRefillPhone
     private function encryptWithOpenssl($data = '')
     {
         $key = substr(config::KEY , 0 ,16);
-        $iv = substr(config::KEY , -16);
+        $iv  = substr(config::KEY , -16);
         return base64_encode(openssl_encrypt($data, "AES-128-CBC", $key, OPENSSL_RAW_DATA, $iv));
     }
 }