细节优化
parent
225b15d750
commit
40e99f1e68
|
|
@ -250,7 +250,7 @@ class AppMiniService
|
|||
if($pos !== false)
|
||||
{
|
||||
$info = pathinfo($file);
|
||||
if(isset($info['extension']) && in_array($info['extension'], self::$exclude_ext))
|
||||
if(isset($info['extension']) && in_array(strtolower($info['extension']), self::$exclude_ext))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1607,7 +1607,7 @@ class OrderService
|
|||
// 生成二维码参数
|
||||
$params = [
|
||||
'content' => $data[$v],
|
||||
'path' => DS.'download'.DS.'order'.DS.'extraction_ode'.DS,
|
||||
'path' => DS.'download'.DS.'order'.DS.'extraction_code'.DS,
|
||||
'filename' => $v.'.png',
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -1181,7 +1181,7 @@ php;
|
|||
if($pos !== false)
|
||||
{
|
||||
$info = pathinfo($file);
|
||||
if(isset($info['extension']) && in_array($info['extension'], self::$exclude_ext))
|
||||
if(isset($info['extension']) && in_array(strtolower($info['extension']), self::$exclude_ext))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ class ThemeService
|
|||
if($pos !== false)
|
||||
{
|
||||
$info = pathinfo($file);
|
||||
if(isset($info['extension']) && in_array($info['extension'], self::$exclude_ext))
|
||||
if(isset($info['extension']) && in_array(strtolower($info['extension']), self::$exclude_ext))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -447,6 +447,13 @@ class UserAddressService
|
|||
'key_name' => 'name',
|
||||
'error_msg' => '姓名不能为空',
|
||||
],
|
||||
[
|
||||
'checked_type' => 'length',
|
||||
'key_name' => 'alias',
|
||||
'checked_data' => '16',
|
||||
'is_checked' => 1,
|
||||
'error_msg' => '别名最多16个字符',
|
||||
],
|
||||
[
|
||||
'checked_type' => 'empty',
|
||||
'key_name' => 'tel',
|
||||
|
|
|
|||
Loading…
Reference in New Issue