Commit 1640e79c by 冷斌

fix bug

parent 259229b3
...@@ -50,7 +50,7 @@ class ExamsPaperModel extends Model ...@@ -50,7 +50,7 @@ class ExamsPaperModel extends Model
return ''; return '';
} }
if ($attachInfo = model('Attach')->getAttachById($attachid)) { if ($attachInfo = model('Attach')->getAttachById($attachid)) {
return $attachInfo['save_path'] . $attachInfo['save_name']; return '/data/upload/' . $attachInfo['save_path'] . $attachInfo['save_name'];
} else { } else {
return ''; return '';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment