diff --git a/app/controller/Optimizeip.php b/app/controller/Optimizeip.php index 8336829..695182d 100644 --- a/app/controller/Optimizeip.php +++ b/app/controller/Optimizeip.php @@ -69,7 +69,7 @@ class Optimizeip extends BaseController 'recordnum' => input('post.recordnum/d'), 'ttl' => input('post.ttl/d'), 'remark' => input('post.remark', null, 'trim'), - 'addtime' => time(), + 'addtime' => date('Y-m-d H:i:s'), 'active' => 1 ]; diff --git a/app/view/optimizeip/opiplist.html b/app/view/optimizeip/opiplist.html index e595604..04da0c8 100644 --- a/app/view/optimizeip/opiplist.html +++ b/app/view/optimizeip/opiplist.html @@ -155,7 +155,7 @@ function setActive(id, active){ }, 'json'); } function delItem(id){ - layer.confirm('确定要删除此切换策略吗?', { + layer.confirm('确定要删除此任务吗?', { btn: ['确定','取消'] }, function(){ $.post('/optimizeip/opipform/del', {id: id}, function(data){