增加文章发布功能

This commit is contained in:
2025-05-09 17:35:43 +08:00
parent f879d27fac
commit e7bcaf29f5
35 changed files with 26474 additions and 61 deletions
+2 -2
View File
@@ -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, '清除缓存失败');
}
}
}