* Fix bug

This commit is contained in:
滔哥
2017-11-09 13:39:41 +08:00
parent 2f2c99f346
commit e627415f6c
14 changed files with 70 additions and 53 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class blockModel extends model
$data->params = helper::jsonEncode($data->params);
$this->dao->replace(TABLE_BLOCK)->data($data)->exec();
$this->loadModel('score')->create('block', 'set');
if(!dao::isError()) $this->loadModel('score')->create('block', 'set');
}
/**