'wxf313b3506bac2647', 'secret' => 'aaf348571cbc5d554e4de1bcd3cb0342', 'token' => 'jXP3Cdl6GofhWVsQTtgwLv2tMZG9nHlPgErZm6ixaSl', 'aes_key' => 'GtG7s1v7QV8kRfpWeGmDnwhwdPPKSrA35rIhmrwenpq', 'http' => [ 'max_retries' => 1, 'retry_delay' => 500, 'timeout' => 5.0, ], ]; $openPlatform = Factory::openPlatform($config); $openPlatform->rebind('cache', Cache::store('redis')); $officialAccount = $openPlatform->officialAccount('wxebcb86ec4b80eaca', 'refreshtoken@@@pOdN-RBZ1f475kZxXM66IcG2keHkv8V0mDs97JYa2TQ'); $officialAccount->customer_service->message('hello, '. date('Y-m-d H:i:s')) ->to('oHhd20dzCcfVjWt4OcGzFWISp6A4') ->send(); } }