|
@@ -65,7 +65,7 @@ class WechatOpenPlatformController extends CatchController
|
|
$componentInfo = WechatOpenPlatformService::getComponentInfoByAppid($component_appid);
|
|
$componentInfo = WechatOpenPlatformService::getComponentInfoByAppid($component_appid);
|
|
myLog('authorCommand')->info('start:'. $component_appid);
|
|
myLog('authorCommand')->info('start:'. $component_appid);
|
|
$app = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
$app = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
- $app->setCache(new RedisAdapter(Redis::client()));
|
|
|
|
|
|
+ $app->setCache(app('cache.store'));
|
|
$server = $app->getServer();
|
|
$server = $app->getServer();
|
|
|
|
|
|
$server->handleVerifyTicketRefreshed(function($message, \Closure $next) {
|
|
$server->handleVerifyTicketRefreshed(function($message, \Closure $next) {
|