From a24457a9ed08b6186da7335576788adc20deb4e1 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Wed, 9 Jan 2019 14:50:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=87=8D=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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') {