Commit 4909d17f by 杨树贤

优化导入

parent 2df93c9e
Showing with 5 additions and 9 deletions
...@@ -93,19 +93,16 @@ class SyncSupplierService ...@@ -93,19 +93,16 @@ class SyncSupplierService
$message['bankinfo'][] = [ $message['bankinfo'][] = [
"bank" => $receipt['bank_adderss'], "bank" => $receipt['bank_adderss'],
'bankaccount' => $receipt['account_no'], 'bankaccount' => $receipt['account_no'],
'bankaccount' => $receipt['bank_name'], 'supplier' => $receipt['bank_name'],
'bankaccount' => $receipt['bank_code'], 'swiftCode' => $receipt['swift_code'],
'bankaccount' => $receipt['swift_code'], 'beneficiary' => $receipt['account_name'],
'bankaccount' => $receipt['account_name'], 'bankAddress' => $receipt['account_adderss'],
'bankaccount' => $receipt['account_adderss'], 'infoEvidence' => $receipt['certificate'],
'bankaccount' => $receipt['certificate'],
'bankaccount' => $receipt['business_license'],
//'bankaccount' => $receipt['international_code'], //'bankaccount' => $receipt['international_code'],
]; ];
} }
} }
//dd($message);
if ($conn) { if ($conn) {
} else { } else {
...@@ -114,7 +111,6 @@ class SyncSupplierService ...@@ -114,7 +111,6 @@ class SyncSupplierService
config('database.connections.rabbitmq.login'), config('database.connections.rabbitmq.login'),
config('database.connections.rabbitmq.password')); config('database.connections.rabbitmq.password'));
} }
$channel = $conn->channel(); $channel = $conn->channel();
$channel->queue_declare('supplier_sync', false, true, false, false); $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