提交 ba694fdb 编写于 作者: Mosher's avatar Mosher

更新代码表过期时间逻辑

上级 a5fca07f
......@@ -27,7 +27,7 @@ export default class ${srfclassname('${item.getCodeName()}')} {
* @type any
* @memberof ${srfclassname('${item.getCodeName()}')}
*/
public expirationTime:any;
public expirationTime:any = <#if item.getCacheTimeout()?c && item.getCacheTimeout()?c != -1 >new Date().getTime() + ${item.getCacheTimeout()?c}<#else>0</#if>
/**
* 预定义类型
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册