Commit 4909d17f by 杨树贤

优化导入

parent 2df93c9e
Showing with 5 additions and 9 deletions
......@@ -93,19 +93,16 @@ class SyncSupplierService
$message['bankinfo'][] = [
"bank" => $receipt['bank_adderss'],
'bankaccount' => $receipt['account_no'],
'bankaccount' => $receipt['bank_name'],
'bankaccount' => $receipt['bank_code'],
'bankaccount' => $receipt['swift_code'],
'bankaccount' => $receipt['account_name'],
'bankaccount' => $receipt['account_adderss'],
'bankaccount' => $receipt['certificate'],
'bankaccount' => $receipt['business_license'],
'supplier' => $receipt['bank_name'],
'swiftCode' => $receipt['swift_code'],
'beneficiary' => $receipt['account_name'],
'bankAddress' => $receipt['account_adderss'],
'infoEvidence' => $receipt['certificate'],
//'bankaccount' => $receipt['international_code'],
];
}
}
//dd($message);
if ($conn) {
} else {
......@@ -114,7 +111,6 @@ class SyncSupplierService
config('database.connections.rabbitmq.login'),
config('database.connections.rabbitmq.password'));
}
$channel = $conn->channel();
$channel->queue_declare('supplier_sync', false, true, false, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment