2017-02-06 10:34
@杜福忠 ps: 不要put, 只remove就可以了, 源码中已经put了,
/**
* Find model by cache.
* @see #find(String, Object...)
* @param cacheName the cache name
* @param key the key used to get data from cache
* @return the list of Model
*/
public List findByCache(String cacheName, Object key, String sql, Object... paras) {
ICache cache = getConfig().getCache();
List result = cache.get(cacheName, key);
if (result == null) { // 这里
result = find(sql, paras);
cache.put(cacheName, key, result); // 这里
}
return result;
}
2016-11-16 16:09
@暴风雪 用 a 标签 也可以啊, 我前面回复了,但是被过滤了, a href="你那下载的路径" target="_blank" ,也可以用js 事件激活了,很多方法了
2016-11-16 10:51
@杜福忠 a href="xxx" target="_blank" ,,,,,,回复没有代码编辑器........ 被吃了....