更改加密方式

This commit is contained in:
icret
2021-05-05 04:35:06 +08:00
parent 8e6dd829f0
commit 6b65bf579d
5 changed files with 10 additions and 9 deletions

View File

@@ -77,7 +77,7 @@ if ($handle->uploaded) {
// 上传成功后返回json数据
$imageUrl = $config['domain'] . config_path() . $handle->file_dst_name;
$delUrl = $_SERVER['HTTP_HOST'] . '/api/del.php?hash=' . ulrHash(config_path() . $handle->file_dst_name, 0);
$delUrl = $config['domain'] . '/api/del.php?hash=' . urlHash(config_path() . $handle->file_dst_name, 0);
$reJson = array(
"result" => 'success',