|
|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Service\Weixin;
|
|
|
|
|
|
use App\Service\Service;
|
|
|
+use Illuminate\Support\Facades\Log;
|
|
|
use Illuminate\Support\Facades\Redis;
|
|
|
|
|
|
class WeixinService extends Service
|
|
|
@@ -87,6 +88,7 @@ class WeixinService extends Service
|
|
|
if(isset($data['code'])) {
|
|
|
list($status,$openid) = $this->getOpenid($data);
|
|
|
// file_put_contents('222.txt',date('YmdHis').json_encode($openid));
|
|
|
+ Log::channel('apiLog')->info('request', ['param' => $openid]);
|
|
|
if(!$status) return [false,$openid];
|
|
|
$uri = $data['uri'];
|
|
|
$openid = $openid['openid'];
|