fix: 任务重复周期

This commit is contained in:
kuaifan
2022-06-27 10:17:23 +08:00
parent c6402c72f9
commit ad2b456f07
2 changed files with 8 additions and 1 deletions

View File

@@ -1011,7 +1011,7 @@ class Base
*/
public static function isNumber($str)
{
if (preg_match("/^\d*$/", $str)) {
if (preg_match("/^\d+$/", $str)) {
return true;
} else {
return false;