我对正在运作的公司有第二个授权。但我唯一遇到的问题是为公司发送密码令牌电子邮件。它始终发送用户的电子邮件。
\n\n那\xc2\xb4s是我的app/config/auth.php
\n\n如果我更改默认密码值对公司有效,但仅适用于公司而不适用于用户。
\n\n返回 [
\n\n/*\n|--------------------------------------------------------------------------\n| Authentication Defaults\n|--------------------------------------------------------------------------\n|\n| This option controls the default authentication "guard" and password\n| reset options for your application. You may change these defaults\n| as required, but they\'re a perfect start for most applications.\n|\n*/\n\n\'defaults\' => [\n \'guard\' => \'web\',\n \'passwords\' => \'users\',\n],\n\n/*\n|--------------------------------------------------------------------------\n| Authentication Guards\n|--------------------------------------------------------------------------\n|\n| Next, you may define every authentication guard for your application.\n| Of course, a great default configuration has been defined for you\n| here which uses session storage and the Eloquent …Run Code Online (Sandbox Code Playgroud) 我正在使用vueify和browserify.我在main.js文件中创建了一个对象
var store = {
foo: 'bar'
};
var vm = new Vue({
el: '#app',
data(){
return {
foo: store
};
},
components: {
Login,
Registration,
ClassifiedList,
BusinessRegistration,
BusinessUpdate,
UserRegistration,
ClassifiedForm,
// ClassifiedKfzCreateForm,
// ClassifiedImmobilienCreateForm,
// ClassifiedImmobilienEditForm,
// ClassifiedKleinanzeigenCreateForm,
// ClassifiedJobsCreateForm
}
Run Code Online (Sandbox Code Playgroud)
});
现在在我的Vue实例中,我可以将它与foo.store.foo一起使用!但是当我在组件中使用store对象时,store对象是未定义的?
有人知道为什么吗?
我做了一个调度程序.当我打电话给它时,php artisan userRanking它起作用.
这是以下代码Kernel.php:
protected $commands = [
\App\Console\Commands\UserRanking::class,
];
protected function schedule(Schedule $schedule)
{
$schedule->command('userRanking')
->everyMinute();
}
Run Code Online (Sandbox Code Playgroud)
如何发送它以使其自动运行?