Commit 78d1c76a authored by hangjun83's avatar hangjun83

财务开票模块更新

parent b866d747
......@@ -67,6 +67,9 @@ class InvoiceJobCommand extends Command
case 'getQiyeInvoiceInfo' :
$service->getQiyeInvoiceInfo();
break;
case 'queryInvoiceInfo' :
$service->queryInvoiceInfo();
break;
case 'applyInvoice' :
$service->applyInvoice([
'invoice_platform' => 'rhawn',
......
......@@ -284,6 +284,22 @@ class InvoiceService
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()
......
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