...
|
...
|
@@ -440,7 +440,7 @@ class Verify { |
|
|
// 大小
|
|
|
if(!empty($value['size'])){
|
|
|
if ($file->size > $value['size']){
|
|
|
app()->e(['verify_file.size',[$this->alias[$key],$file->name,$value['size']]],600);
|
|
|
app()->e(['verify_file.size',[$this->alias[$key],$file->name,($value['size']/1024)+'M']],600);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
...
|
...
|
|