审批debug
This commit is contained in:
parent
2bfe368f96
commit
ddc2106571
@ -6,6 +6,7 @@ use app\common\logic\BaseLogic;
|
|||||||
use app\common\model\Approve;
|
use app\common\model\Approve;
|
||||||
use Symfony\Component\HttpClient\HttpClient;
|
use Symfony\Component\HttpClient\HttpClient;
|
||||||
use think\facade\Db;
|
use think\facade\Db;
|
||||||
|
use think\Log;
|
||||||
|
|
||||||
class ApproveLogic extends BaseLogic
|
class ApproveLogic extends BaseLogic
|
||||||
{
|
{
|
||||||
@ -50,6 +51,8 @@ class ApproveLogic extends BaseLogic
|
|||||||
$requestResponse = HttpClient::create()->request('POST', env('url.shop_prefix') . '/api/merchant/syncStatus/'.$shopMerchantInfo['mer_intention_id'], [
|
$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']]
|
||||||
]);
|
]);
|
||||||
|
Log::info('通知商城审批状态-参数', ['status' => $status, 'type' => $approve['type']]);
|
||||||
|
Log::info('通知商城审批状态-响应', [$requestResponse->getContent()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function detail($id)
|
public static function detail($id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user