diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 98e64cf9..da564529 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -371,8 +371,10 @@ class Info_amp extends CI_Controller ))); return; } + $usr = $this->input->post('usr'); + $icid = $this->input->post('icid'); //转移文件 - $md5_file = md5($file['name'].$file['size']); + $md5_file = md5($usr.$icid.$file['name']); //ext $ext = mb_strtolower(strrchr($file["name"],'.')); if ($ext != '.jpg') { @@ -423,8 +425,10 @@ class Info_amp extends CI_Controller ))); return; } + $usr = $this->input->post('usr'); + $icid = $this->input->post('icid'); //转移文件 - $md5_file = md5($file['name'].$file['size']); + $md5_file = md5($usr.$icid.$file['name']); //ext $ext = mb_strtolower(strrchr($file["name"],'.')); if ($ext != '.docx') {