|
@@ -7,6 +7,7 @@ use App\Service\Util\Support\Trace\TraceContext;
|
|
use App\Service\WechatPlatform\WechatPlatformConstService;
|
|
use App\Service\WechatPlatform\WechatPlatformConstService;
|
|
use EasyWeChat\Factory;
|
|
use EasyWeChat\Factory;
|
|
use Illuminate\Console\Command;
|
|
use Illuminate\Console\Command;
|
|
|
|
+use Illuminate\Support\Facades\Cache;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
|
|
@@ -43,6 +44,8 @@ class Test extends Command
|
|
],
|
|
],
|
|
];
|
|
];
|
|
$openPlatform = Factory::openPlatform($config);
|
|
$openPlatform = Factory::openPlatform($config);
|
|
|
|
+ $openPlatform->rebind('cache', Cache::store('redis'));
|
|
|
|
+
|
|
$officialAccount = $openPlatform->officialAccount('wxebcb86ec4b80eaca',
|
|
$officialAccount = $openPlatform->officialAccount('wxebcb86ec4b80eaca',
|
|
'refreshtoken@@@pOdN-RBZ1f475kZxXM66IcG2keHkv8V0mDs97JYa2TQ');
|
|
'refreshtoken@@@pOdN-RBZ1f475kZxXM66IcG2keHkv8V0mDs97JYa2TQ');
|
|
|
|
|