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