File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ public function handle ()
68
68
$ file = $ table . '.json ' ;
69
69
70
70
$ result = DB ::table ($ table )->get ();
71
- //if ($result->isEmpty ()) {
72
- // continue;
73
- //}
74
71
$ content = $ result ->toArray ();
75
72
$ data [ $ table ] = Storage::disk ('base ' )->put ($ dir . '/ ' . $ file , json_encode ($ content , JSON_UNESCAPED_UNICODE + JSON_PRETTY_PRINT ));
76
73
}
77
74
//打包一份备份
75
+ if (!Storage::exists ('dev-backup ' )){
76
+ Storage::makeDirectory ('dev-backup ' );
77
+ }
78
78
$ bak_zip = storage_path ('app/dev-backup/ ' . date ('YmdHis ' ) . '.bak.zip ' );
79
79
$ bakZip = Zip::create ($ bak_zip );
80
80
$ bakZip ->add (base_path ($ dir ));
Original file line number Diff line number Diff line change 11
11
<img src =" https://img.shields.io/badge/License-MIT-yellow.svg " >
12
12
</p >
13
13
14
- ** 项目正在完善中,可能会存在较大改动。**
15
-
16
14
基于Laravel的后台内容管理开发系统,后台基于layui-mini前端主题。能够帮助你节约开发基础系统功能,及一些常规功能插件。是一个快速上手,项目基础开发,外包开发首选CMS。
17
15
18
16
- 后台系统常用功能
@@ -107,9 +105,9 @@ php artisan serve
107
105
108
106
### 如何贡献
109
107
110
- - 发布[ issue] ( https://gitee .com/liaodeiy /laravel-admin-cms/issues ) 进行问题反馈和建议
108
+ - 发布[ issue] ( https://github .com/liaodeity /laravel-admin-cms/issues ) 进行问题反馈和建议
111
109
112
- - 通过[ Pull Request] ( https://gitee .com/liaodeiy /laravel-admin-cms/pulls ) 提交修复
110
+ - 通过[ Pull Request] ( https://github .com/liaodeity /laravel-admin-cms/pulls ) 提交修复
113
111
114
112
- 完善我们的文档和例子
115
113
You can’t perform that action at this time.
0 commit comments