|
|
@@ -1924,7 +1924,9 @@ EOT;
|
|
|
</body>
|
|
|
</html>
|
|
|
ORDER;
|
|
|
- Logger::trace($context);
|
|
|
+
|
|
|
+ // 🎯 修改8:在生成PDF前验证context内容
|
|
|
+ file_put_contents(\Yii::getAlias('@runtime') . '/last_pdf_context.html', $context);
|
|
|
|
|
|
require_once (\Yii::$app->vendorPath . '/tecnickcom/tcpdf/tcpdf.php');
|
|
|
|