我已经在VSTS中创建了版本定义,它采用构建的.net核心3.0Web应用程序,并将构建版本推送到Azure web应用程序。它工作了6个多月,但最近在部署步骤中失败了。 Possibly unsupported ZIP platform type, 62
##[error]Error: Offset is out of bounds 我还阅读了这篇response。我检查了工作目录中的zip文件,可以将其解压缩。
我试图计算购物车中产品的鬼魂总量,下面是我的代码:
//If we have no weight, try to calculate this
$weight = 0;
if ($quote->getShippingAddress()->getWeight() == null ||
$quote->getShippingAddress()->getWeight() == 0 ||
$quote->getShippingAddress()->getW