郵件設置 兩步php
根目錄 .env 設置帳號html
MAIL_DRIVER=SMTP MAIL_HOST=smtp.163.com MAIL_PORT=25 MAIL_USERNAME="xxx@163.com" MAIL_PASSWORD="xxx" MAIL_ENCRYPTION=null
config/mail.phpjava
'from' => ['address' => env('MAIL_USERNAME'), 'name' => 'Test Mail'],
========================================================================laravel
JWT refresh tokengit
http://stackoverflow.com/questions/32446672/refresh-jwt-token-laravel-and-angularjs angularjs
multi refresh requestgithub
https://jeremymarc.github.io/2014/08/14/oauth2-with-angular-the-right-way/ api
短信驗證碼rest
https://leancloud.cn/docs/rest_sms_api.html#快速參考code