标签:
例子:
#set($PAY_TRANSACTION_TYPE={"ORDER_PAY":"Payment", "WITHDRAWALS":"Withdraw","TOP":"Add Funds"})
#set($PAY_STATUS={"CREATE":"11111","SUCCESS":"Completed","CHECK":"Checking","Close":"Failed"})
#macro(transferType $key)
$!PAY_TRANSACTION_TYPE.get($!key)
#end
#macro(transferStatus $key)
$!PAY_STATUS.get($!key)
#end
标签:
原文地址:http://www.cnblogs.com/qwqs/p/5112747.html