【类 型】:fix

【主	题】:$_REQUEST['runing'] 参数可能就是 ''  不用排除
【描	述】:
	[原因]:$_REQUEST['runing'] 参数可能就是 ''  不用排除
	[过程]:判断排除 判断是否为空 空的就情况runing字段
	[影响]:
【结	束】

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

View File

@ -164,7 +164,7 @@ class PlaneController extends PublicController
//总管理员 可接收任何shop_id 非总管理员 只可以调用自身shop_id 否则会中断
$this->isPower();
if ($_REQUEST['id'] && $_REQUEST['shop_id'] && $_REQUEST['runing']) {
if ($_REQUEST['id'] && $_REQUEST['shop_id']) {
$rsDb = D('receive_site');
$where['id'] = $_REQUEST['id'];
$where['shop_id'] = $_REQUEST['shop_id'];