api/common/interface.func.php | ●●●●● patch | view | raw | blame | history |
api/common/interface.func.php
@@ -46,12 +46,12 @@ function checkSign($data,$sysKey) { $str = ""; foreach ($data as $key => $value) foreach ($data as $key => $value) { if ($key != "sign") { $str = $str.$key."=".$value."&"; $str = $str.$key."=".str_replace("\\", "", $value)."&"; } } } return $data["sign"] == md5($str."key=".$sysKey); }