参数
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -68,6 +68,9 @@ class BaseController extends Controller | ... | @@ -68,6 +68,9 @@ class BaseController extends Controller |
| 68 | { | 68 | { |
| 69 | if (!$accessToken = Cache::get(CacheKeyTools::tmeAccessToken())) {$accessToken = $this->getToken();} | 69 | if (!$accessToken = Cache::get(CacheKeyTools::tmeAccessToken())) {$accessToken = $this->getToken();} |
| 70 | 70 | ||
| 71 | echo $accessToken; | ||
| 72 | exit(); | ||
| 73 | |||
| 71 | $headers['appId'] = $this->appId; | 74 | $headers['appId'] = $this->appId; |
| 72 | $headers['accessToken'] = $accessToken; | 75 | $headers['accessToken'] = $accessToken; |
| 73 | $headers['timestamp'] = (string)date('YmdHis'); | 76 | $headers['timestamp'] = (string)date('YmdHis'); | ... | ... |
-
Please register or sign in to post a comment