新增打印入参
This commit is contained in:
parent
db14967d6c
commit
dcef640765
@ -8,6 +8,7 @@ use App\Constants\HttpEnumCode;
|
|||||||
use App\Model\User;
|
use App\Model\User;
|
||||||
use App\Utils\Auth;
|
use App\Utils\Auth;
|
||||||
use App\Utils\Jwt;
|
use App\Utils\Jwt;
|
||||||
|
use App\Utils\Log;
|
||||||
use Hyperf\Context\Context;
|
use Hyperf\Context\Context;
|
||||||
use Hyperf\HttpMessage\Stream\SwooleStream;
|
use Hyperf\HttpMessage\Stream\SwooleStream;
|
||||||
use Hyperf\HttpServer\Contract\RequestInterface;
|
use Hyperf\HttpServer\Contract\RequestInterface;
|
||||||
@ -46,6 +47,13 @@ class AuthMiddleware implements MiddlewareInterface
|
|||||||
$Auth = new Auth();
|
$Auth = new Auth();
|
||||||
$Jwt = new Jwt();
|
$Jwt = new Jwt();
|
||||||
|
|
||||||
|
// 打印入参请求-临时
|
||||||
|
$request_params = $this->request->all();
|
||||||
|
Log::getInstance()->info("请求地址 ".$path_info);
|
||||||
|
Log::getInstance()->info("请求方式 ".$method);
|
||||||
|
Log::getInstance()->info("请求参数 ".json_encode($request_params,JSON_UNESCAPED_UNICODE));
|
||||||
|
|
||||||
|
|
||||||
// 获取token
|
// 获取token
|
||||||
$token = $this->getHeaderToken();
|
$token = $this->getHeaderToken();
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,6 @@ class CodeService extends BaseService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$generator = $this->container->get(IdGeneratorInterface::class);
|
|
||||||
|
|
||||||
$template_code = "SMS_243055263";
|
$template_code = "SMS_243055263";
|
||||||
|
|
||||||
$template_param = array();
|
$template_param = array();
|
||||||
|
|||||||
@ -277,7 +277,6 @@ class InquiryService extends BaseService
|
|||||||
$data = array();
|
$data = array();
|
||||||
$data['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
|
$data['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
|
||||||
$message = new CancelUnpayOrdersDelayDirectProducer($data);
|
$message = new CancelUnpayOrdersDelayDirectProducer($data);
|
||||||
// 快速/购药-5分钟
|
|
||||||
$message->setDelayMs(1000 * 60 * 5);
|
$message->setDelayMs(1000 * 60 * 5);
|
||||||
$producer = $this->container->get(Producer::class);
|
$producer = $this->container->get(Producer::class);
|
||||||
$res = $producer->produce($message);
|
$res = $producer->produce($message);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user