生成长表格
This commit is contained in:
@@ -53,11 +53,9 @@ class ArticleCreateLongTable
|
|||||||
if (!$this->oQueueJob->acquireLock($sRedisKey, $sRedisValue, $job)) {
|
if (!$this->oQueueJob->acquireLock($sRedisKey, $sRedisValue, $job)) {
|
||||||
return; // 未获取到锁,已处理
|
return; // 未获取到锁,已处理
|
||||||
}
|
}
|
||||||
var_dump($aLongTableId);
|
|
||||||
//生成内容
|
//生成内容
|
||||||
$oProduction = new \app\api\controller\Production;
|
$oProduction = new \app\api\controller\Production;
|
||||||
$response = $oProduction->longTablePdfCreate($aLongTableId);
|
$response = $oProduction->longTablePdfCreate($aLongTableId);
|
||||||
var_dump($response);
|
|
||||||
// 验证API响应
|
// 验证API响应
|
||||||
if (empty($response)) {
|
if (empty($response)) {
|
||||||
throw new \RuntimeException("返回空结果");
|
throw new \RuntimeException("返回空结果");
|
||||||
|
|||||||
Reference in New Issue
Block a user