2018-01-24 14:58
@EATI001 其一种应该是伪静态吧,其二可以用restful风格实现
2018-01-24 14:28
@杜福忠 我发现应该是他没有选择对应的项目,但是创建分享和反馈的时候 项目是必选项,不知道他是怎么跳过的,哈哈哈
2017-07-06 17:29
#sql("paginate")
select id,username,actionKey,opertime,ip,params,result from log where 1=1
#for(x:conds)
#if(x.value)
and #(x.key)#para(x.value)
#end
#end
order by opertime desc
#end
Kv conds = Kv.by("opertime >= ", startTime).set("opertime <= ", endTime).set("username = ", username);
SqlPara para = Db.getSqlPara("log.paginate", Kv.by("conds", conds));
Page userLists = Db.paginate(pageNumber, 10, para);