|
@@ -63,6 +63,7 @@ class WechatOpenPlatformController extends CatchController
|
|
*/
|
|
*/
|
|
public function authorCommand(Request $request, $component_appid) {
|
|
public function authorCommand(Request $request, $component_appid) {
|
|
$componentInfo = WechatOpenPlatformService::getComponentInfoByAppid($component_appid);
|
|
$componentInfo = WechatOpenPlatformService::getComponentInfoByAppid($component_appid);
|
|
|
|
+ myLog('authorCommand')->info('start:'. $component_appid);
|
|
$app = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
$app = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
$app->setCache(new RedisAdapter(Redis::client()));
|
|
$app->setCache(new RedisAdapter(Redis::client()));
|
|
$server = $app->getServer();
|
|
$server = $app->getServer();
|