Commit d78260af authored by hangjun83's avatar hangjun83

财务开票模块更新]

parent d078d860
......@@ -387,7 +387,7 @@ class InvoiceService
//查询流水号是否有效
$invoiceInfo = $this->invoiceRecordRepository->getInvoiceRecordByNumber($params['ddlsh']);
if(!$invoiceInfo){
SimpleLogs::writeLog($params, __CLASS__.':'.__FUNCTION__.' 无法找到发票流水号:'.$params['ddlsh'].'的数据', 'error');
//SimpleLogs::writeLog($params, __CLASS__.':'.__FUNCTION__.' 无法找到发票流水号:'.$params['ddlsh'].'的数据', 'error');
return false;
}
......@@ -424,7 +424,8 @@ class InvoiceService
//根据type回调相应方法处理逻辑
if($params['type'] && method_exists(__CLASS__,$params['type'])){
app(__CLASS__)->$params['type']($params['params']);
$func = $params['type'];
$this->$func($params['params']);
}
}
......
......@@ -15,7 +15,7 @@ require_once __DIR__.'/../vendor/autoload.php';
dirname(__DIR__)
))->bootstrap();
date_default_timezone_set(env('APP_TIMEZONE', 'UTC'));
date_default_timezone_set(env('APP_TIMEZONE', 'PRC'));
/*
|--------------------------------------------------------------------------
......
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