File:web/product-details.html
Method:request.getData(url,*encode)
The remote server returned an error: (500) Internal Server Error.
系统IO操作失败
web/xmls/product.xmls
...gn:center;" type="text" value="1" class="input1" />
<span class="jia" >
<a href="javascript:void(0)">
<img width="20" height="20" src="images/tb27.jpg" onclick="addquantity(1,document.getElementById('{*ItemId}cmber'),'{*ItemId}cmber')"></a>
</span>

<td class="z10"><span id="{@ItemId}cmberprice">{@count}</span></td>
<td style="text-align: center;">{@checkbox}</td>
</tr>
#];

@request=$request();
@span=$timespan($datetime.now(),@rowgoods[UpdateTime]);
$if(@span.totalHours()>24){
@
json=@request.getData(["http://222.128.98.41/getstock.ashx?pn={@rowgoods[GoodsCode]}&gg=g&u=cfd7ecf07bb4847d96860d3e98fb38f3"]);
}
$else{
@json=$null;
}
@stock=Inquiry;
@class=addCart1;
$if($string.isEmpty(@json)==0){
@map=$map.loadJson(@json);
$if(@map[error]<>NULL){
@strdw=$string(@map[dw]);
@arrdw=@strdw.split(\,);

@stock=["{@map[stock]}{@arrdw[0]}"];
@class=;
}
}
@tableitem=@queryitem.table(*,['GoodsCode={*GoodsCode}'],['Grade asc,ItemId asc']);
@listitemma=@tableitem.form...