##简单变量##
{
#if($errorMsg)
status:false,
errorMsg:$errorMsg
#else
status:true,
userNick:$!userNick
#end| /*ucool filePath=http://10.249.196.92:80/apps/auctionplatform/20111110/channel/pub/tiantian/tiantian.js?env=daily*/ | |
| /** | |
| * @fileoverview 拍卖计时器 | |
| * @author 易敛<yilian.wj@taobao.com> | |
| * @date 12-1-8 | |
| */ | |
| KISSY.add('Countdown', function(S, DOM, Switch) { | |
| var api = 'http://paimai.taobao.com/json/get_legacy_auction.htm?'; | |
| function Countdown(container, config) { |
| from:unity | |
| m:changeaddress //还有可能是changeamount、changebundle、changefare、changeservice | |
| ordersData: | |
| { | |
| "divisionCode": "330106", | |
| "oid": "b_13926520622", //changeservice时变化的订单 |
| API: http://cart.taobao.com/proxy.do | |
| data: { | |
| B:{xxx,type:'delete'}, | |
| C:{xxx,type:'delete'} | |
| } | |
| return | |
| { |
| Exception in thread "UnicornRebuild" Exception in thread "http-bio-8000-exec-3" java.lang.OutOfMemoryError: Java heap space | |
| at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:334) | |
| at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:392) | |
| at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:403) | |
| at org.apache.velocity.runtime.parser.Parser.<init>(Parser.java:70) | |
| at org.apache.velocity.runtime.RuntimeInstance.createNewParser(RuntimeInstance.java:1130) | |
| at org.apache.velocity.runtime.ParserPoolImpl.initialize(ParserPoolImpl.java:50) | |
| at org.apache.velocity.runtime.RuntimeInstance.initializeParserPool(RuntimeInstance.java:1103) | |
| at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:266) | |
| at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:646) |
##简单变量##
{
#if($errorMsg)
status:false,
errorMsg:$errorMsg
#else
status:true,
userNick:$!userNick
#end| { | |
| "result":{ | |
| "isMemberCart":"$result.isMemberCart()", | |
| "shopId":"$result.shopId" | |
| } | |
| } |
| # Mou | |
|  | |
| ## Overview | |
| **Mou**, the missing Markdown editor for *web developers*. | |
| ### Syntax |
| #set($orderList = $!{result.orderList}) | |
| #foreach($order in $!orderList) | |
| #set($shop = $!{order.shop}) | |
| $!{shop.singleItemId} | |
| #end |
时间:2013.4.13
####行程1