Commit 3a3b50ea authored by hangjun83's avatar hangjun83

百化产品接口更新

parent 93b69fac
......@@ -518,8 +518,7 @@ class InvoiceService
}
}
public function testEmail($params)
{
public function testEmail($params) {
$updatedInvoiceResult = $this->invoiceRecordRepository->getInvoiceRecordByNumber($params);
$this->apiService->pushQueue([
'params' => current($updatedInvoiceResult),
......@@ -578,9 +577,9 @@ class InvoiceService
//查询购买方邮箱
switch($invoiceParams['invoice_platform']){
case 'rhawn' :
$cusInfo = $this->rhawnInvoiceRepository->queryCustomerInfoByInvoiceId($invoiceParams['platform_invoice_id']);
$cusInfo = $this->rhawnInvoiceRepository->queryCustomerInfoByInvoiceId($invoiceParams['platform_invoice_id']);break;
case 'bhua' :
$cusInfo = $this->bhuaInvoiceRepository->queryCustomerInfoByInvoiceId($invoiceParams['platform_invoice_id']);
$cusInfo = $this->bhuaInvoiceRepository->queryCustomerInfoByInvoiceId($invoiceParams['platform_invoice_id']);break;
}
if($cusInfo){
$cusInfo = current($cusInfo);
......
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 to comment