chore(src): 所有代码上传
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,21 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
return [
|
||||
'name' => 'LUCKY_V1',
|
||||
'title' => 'LukcySaaS',
|
||||
'description' => 'LukcySaaS',
|
||||
'type' => 'system',
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '1.0',
|
||||
'version_no' => '2024050000001',
|
||||
'content' => 'LukcySaaS'
|
||||
<?php
|
||||
return [
|
||||
'name' => 'LUCKY_V1',
|
||||
'title' => 'LukcySaaS',
|
||||
'description' => 'LukcySaaS',
|
||||
'type' => 'system',
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '1.0',
|
||||
'version_no' => '2024050000001',
|
||||
'content' => 'LukcySaaS'
|
||||
];
|
||||
File diff suppressed because it is too large
Load Diff
21
src/config/regexp.php
Normal file
21
src/config/regexp.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
//整数
|
||||
'num' => '/^-?(0|[1-9]\d*)(\.0*)?$/',
|
||||
'>0num' => '/^[1-9]\d*(\.0*)?$/',
|
||||
'>=0num' => '/^(0|[1-9]\d*)(\.0*)?$/',
|
||||
//两位浮点数
|
||||
'float2' => '/^-?(0|[1-9]\d*)(\.\d{0,2}0*)?$/',
|
||||
'>0float2' => '/^(0\.\d{1,2}|[1-9]\d*(\.\d{0,2}0*)?)$/',
|
||||
'>=0float2' => '/^(0|[1-9]\d*)(\.\d{0,2}0*)?$/',
|
||||
//3位浮点数
|
||||
'float3' => '/^-?(0|[1-9]\d*)(\.\d{0,3}0*)?$/',
|
||||
'>0float3' => '/^(0\.\d{1,3}|[1-9]\d*(.\d{0,3}0*)?)$/',
|
||||
'>=0float3' => '/^(0|[1-9]\d*)(\.\d{0,3}0*)?$/',
|
||||
//手机号
|
||||
'mobile' => '/^1\d{10}$/',
|
||||
//身份证号
|
||||
'idcard15' => '/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$/',
|
||||
'idcard18' => '/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{4}$/',
|
||||
];
|
||||
@@ -2,7 +2,6 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | 路由设置
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
// pathinfo分隔符
|
||||
'pathinfo_depr' => '/',
|
||||
|
||||
Reference in New Issue
Block a user