审批debug

This commit is contained in:
chenbo 2023-09-19 14:40:10 +08:00
parent 2f42425ab3
commit 1d3aae45e7

View File

@ -50,7 +50,7 @@ class ApproveLogic extends BaseLogic
$status = $params['check_status'] == 2? 1: 2;
// 通知商城审批状态
$requestResponse = HttpClient::create()->request('POST', env('url.shop_prefix') . '/api/merchant/syncStatus/'.$shopMerchantInfo['mer_intention_id'], [
'body' => ['status' => $status, 'type' => $approve['type']]
'body' => ['status' => $status, 'type' => $approve['type'] ==2 ? 1: 2]
]);
Log::info('通知商城审批状态-参数', ['status' => $status, 'type' => $approve['type']]);
Log::info('通知商城审批状态-响应', [$requestResponse->getContent()]);