Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/hui-ho/WebStack-Laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-ho committed May 2, 2019
2 parents 9054f2e + e8ecbf9 commit 28c825d
Show file tree
Hide file tree
Showing 102 changed files with 1,062 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/Admin/Controllers/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ protected function form()
->attribute('autocomplete', 'off')
->rules('required|max:50');
$form->image('thumb', '图标')
->crop(120, 120)
->uniqueName()
->rules('required|max:200');
->rules('required');
$form->text('describe', '描述')
->attribute('autocomplete', 'off')
->rules('required|max:300');
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"caouecs/laravel-lang": "~3.0",
"encore/laravel-admin": "^1.6",
"fideloper/proxy": "~3.3",
"intervention/image": "^2.4",
"james.xue/login-captcha": "^1.1",
"jxlwqq/material-ui": "^1.0",
"laravel-admin-ext/grid-lightbox": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28c825d

Please sign in to comment.