版本laravel5.5
问题:使用sendcloud发信成功,打开收件箱,链接的地址变成了长地址,不是自己的域名。
修改composer.json里的name, vender名字(即前缀)改一个不容易跟别人重复的
是不是把`
php
\Young\Hasher\MD5HasherProvider::class,
写成了
\Young\Hasher\MD5Hasher::class,
☁ ~ ps -ef|grep nginx
0 9357 1 0 10:25上午 ?? 0:00.01 nginx: master process /usr/local/opt/nginx/bin/nginx -g daemon off;
501 9358 9357 0 10:25上午 ?? 0:00.00 nginx: worker process
501 9359 9357 0 10:25上午 ?? 0:00.00 nginx: worker process
501 9360 9357 0 10:25上午 ?? 0:00.00 nginx: worker process
501 9361 9357 0 10:25上午 ?? 0:00.00 nginx: worker process
501 9374 5937 0 10:25上午 ttys003 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn nginx
有人遇到这个问题么
[2017-08-14 15:21:03] local.ERROR: ReflectionException: Class Barryvdh\Cors\HandleCors does not exist in /Users/young/code/vue-laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php:749
Stack trace:
☁ mylaravel [master] ⚡ composer require barryvdh/laravel-cors
Using version ^0.9.2 for barryvdh/laravel-cors
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
Illuminate\Foundation\ComposerScripts::postUpdate
php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
重新安装了一遍,然后google了一下午都没找到解决方案
有人遇见这个问题么?
ReflectionException in Container.php line 681:
Class Barryvdh\Cors\Middleware\HandleCors does not exist
vue模板只能有一个根对象,在模板的2个元素外边套个div就行了