增加文章发布功能
This commit is contained in:
@@ -198,9 +198,9 @@ class Index extends Base{
|
||||
$a = delete_dir_file(Env::get('runtime_path').'cache/');
|
||||
$b = delete_dir_file(Env::get('runtime_path').'temp/');
|
||||
if ($a || $b) {
|
||||
$this->returnCode(0);
|
||||
$this->returnCode(0, '清除缓存成功');
|
||||
} else {
|
||||
$this->returnCode('91000006');
|
||||
$this->returnCode(1, '清除缓存失败');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user