Skip to content

Commit 8c859ad

Browse files
authored
Merge pull request #2 from liaodeity/8.x
8.1.2
2 parents 3d0780d + 11ae6c0 commit 8c859ad

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/Console/Commands/DevBackUp.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ public function handle ()
6868
$file = $table . '.json';
6969

7070
$result = DB::table ($table)->get ();
71-
//if ($result->isEmpty ()) {
72-
// continue;
73-
//}
7471
$content = $result->toArray ();
7572
$data[ $table ] = Storage::disk ('base')->put ($dir . '/' . $file, json_encode ($content, JSON_UNESCAPED_UNICODE + JSON_PRETTY_PRINT));
7673
}
7774
//打包一份备份
75+
if(!Storage::exists ('dev-backup')){
76+
Storage::makeDirectory ('dev-backup');
77+
}
7878
$bak_zip = storage_path ('app/dev-backup/' . date ('YmdHis') . '.bak.zip');
7979
$bakZip = Zip::create ($bak_zip);
8080
$bakZip->add (base_path ($dir));

readme.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
<img src="https://img.shields.io/badge/License-MIT-yellow.svg">
1212
</p>
1313

14-
**项目正在完善中,可能会存在较大改动。**
15-
1614
基于Laravel的后台内容管理开发系统,后台基于layui-mini前端主题。能够帮助你节约开发基础系统功能,及一些常规功能插件。是一个快速上手,项目基础开发,外包开发首选CMS。
1715

1816
- 后台系统常用功能
@@ -107,9 +105,9 @@ php artisan serve
107105

108106
### 如何贡献
109107

110-
- 发布[issue](https://gitee.com/liaodeiy/laravel-admin-cms/issues)进行问题反馈和建议
108+
- 发布[issue](https://github.com/liaodeity/laravel-admin-cms/issues)进行问题反馈和建议
111109

112-
- 通过[Pull Request](https://gitee.com/liaodeiy/laravel-admin-cms/pulls)提交修复
110+
- 通过[Pull Request](https://github.com/liaodeity/laravel-admin-cms/pulls)提交修复
113111

114112
- 完善我们的文档和例子
115113

0 commit comments

Comments
 (0)