Commit 509ded59 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 3e77be52
......@@ -513,7 +513,7 @@ class InvoiceService
'invoice_real_date' => $invoiceParams['invoice_real_date']
];
$token = hash_hmac("sha256", json_encode($urlParams), $invoiceParams['invoice_real_number'], false);
$downloadUrl = 'http://openapi.chem-site.com/finance/invoice/download?token='.base64_encode('hash='.$token.'&hm='.$invoiceParams['invoice_real_number']);
$downloadUrl = 'http://openapi.chem-site.com/finance/invoice/download?token='.$this->apiService->base64UrlEncode('hash='.$token.'&hm='.$invoiceParams['invoice_real_number']);
$customerInfo = json_decode($invoiceParams['invoice_customer'],true);
......
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