【类 型】:test

【主	题】:
【描	述】:
	[原因]:
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-09 17:45:15 +08:00
parent 9ef6902c1d
commit 24bb7bd577

View File

@ -197,7 +197,7 @@ class PlaneController extends PublicController
$data['sitename'] = $_REQUEST['sitename'];
if ($_REQUEST['bindroute']) {
$data['bind_route'] = $_REQUEST['bindroute'];
preg_match_all('/,/', $data['bind_route'], $matches);
preg_match_all('/,/', $_REQUEST['bindroute'], $matches);
$data['runing'] = implode('', $matches[0]);
} else {
$data['bind_route'] = null;
@ -252,7 +252,7 @@ class PlaneController extends PublicController
$data['sitename'] = $_REQUEST['sitename'];
if ($_REQUEST['bindroute']) {
$data['bind_route'] = $_REQUEST['bindroute'];
preg_match_all('/,/', $data['bind_route'], $matches);
preg_match_all('/,/', $_REQUEST['bindroute'], $matches);
$data['runing'] = implode('', $matches[0]);
} else {
$data['bind_route'] = null;