diff --git a/plugin/webman/gateway/Events.php b/plugin/webman/gateway/Events.php index 1c16363..0994e58 100644 --- a/plugin/webman/gateway/Events.php +++ b/plugin/webman/gateway/Events.php @@ -5,6 +5,7 @@ namespace plugin\webman\gateway; use ba\Random; use extend\workermans\model\Base; use GatewayWorker\Lib\Gateway; +use support\Log; use support\Redis; use Workerman\Connection\TcpConnection; use Workerman\Protocols\Http\Request; @@ -34,6 +35,7 @@ class Events $params = $request->get('params'); if (method_exists(Gateway::class, $method)) { call_user_func_array([Gateway::class, $method], [$account, $params]); + Log::info('打印8686收到消息-->' . $params); $params_arr = json_decode($params, true); // 如果是订单打印并且通过uid推送, 保存redis if($params_arr['operate_type'] == 'order_print' && $method == 'sendToUid') {