From 342b189c98dc0202c8e4dbab2e02c30c7fe7aa24 Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Tue, 24 Apr 2018 16:42:21 +0800 Subject: [PATCH] 修改 --- Yfs/Domain/Data.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Yfs/Domain/Data.php b/Yfs/Domain/Data.php index 96ae3f5..0a76dd5 100644 --- a/Yfs/Domain/Data.php +++ b/Yfs/Domain/Data.php @@ -27,7 +27,7 @@ $arr['date'] = date('Y-m-d', strtotime($value['time'])); if($value['type'] == 0){ $this->model->add($arr); - if($arr['is_warn'] == 1){ + if($value['is_warn'] == 1){ $this->warn_model->add($arr); } } -- Gitblit v1.8.0