Commit 78d1c76a authored by hangjun83's avatar hangjun83

财务开票模块更新

parent b866d747
...@@ -67,6 +67,9 @@ class InvoiceJobCommand extends Command ...@@ -67,6 +67,9 @@ class InvoiceJobCommand extends Command
case 'getQiyeInvoiceInfo' : case 'getQiyeInvoiceInfo' :
$service->getQiyeInvoiceInfo(); $service->getQiyeInvoiceInfo();
break; break;
case 'queryInvoiceInfo' :
$service->queryInvoiceInfo();
break;
case 'applyInvoice' : case 'applyInvoice' :
$service->applyInvoice([ $service->applyInvoice([
'invoice_platform' => 'rhawn', 'invoice_platform' => 'rhawn',
......
...@@ -284,6 +284,22 @@ class InvoiceService ...@@ -284,6 +284,22 @@ class InvoiceService
public function downloadInvioce($invoiceNumber) public function downloadInvioce($invoiceNumber)
{ {
}
public function queryInvoiceInfo()
{
$platformInfo = $this->apiService->getPlatformInfo()['platform_params']['rhawn'];
$cancelInvoiceParams = [];
$cancelInvoiceParams['qyId'] = $platformInfo['qyid'];
$cancelInvoiceParams['ddlsh'] = '00000000000002018020001720230222';
//记录请求参数
$response = $this->apiService->queryOrder($cancelInvoiceParams);
var_dump($response);
exit;
} }
public function getQiyeInvoiceInfo() public function getQiyeInvoiceInfo()
......
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