node configure增改接近完成,删除后端还没做

This commit is contained in:
Yu Sun
2022-07-07 01:27:45 +08:00
parent 331a941941
commit e018f19f09
189 changed files with 25627 additions and 9 deletions

11
app/Utils.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
function find_key_value($array, $key, $val) {
foreach ($array as $item)
{
if (is_array($item) && find_key_value($item, $key, $val))
return true;
if (isset($item[$key]) && $item[$key] == $val)
return true;
}
return false;
}