mirror of https://gitee.com/y_project/RuoYi.git
				
				
				
			修改错误命名属性
							parent
							
								
									6e476e40af
								
							
						
					
					
						commit
						acf8ea428f
					
				| 
						 | 
				
			
			@ -47,7 +47,7 @@ public class CacheController extends BaseController
 | 
			
		|||
    public String getCacheKeys(String fragment, String cacheName, ModelMap mmap)
 | 
			
		||||
    {
 | 
			
		||||
        mmap.put("cacheName", cacheName);
 | 
			
		||||
        mmap.put("cacheKyes", cacheService.getCacheKeys(cacheName));
 | 
			
		||||
        mmap.put("cacheKeys", cacheService.getCacheKeys(cacheName));
 | 
			
		||||
        return prefix + "/cache::" + fragment;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,8 +53,8 @@
 | 
			
		|||
                                        <th>操作</th>
 | 
			
		||||
                                    </tr>
 | 
			
		||||
                                </thead>
 | 
			
		||||
                                <tbody id="cacheKyes">
 | 
			
		||||
                                    <tr th:fragment="fragment-cache-kyes" th:each="cacheKey, stat : ${cacheKyes}">
 | 
			
		||||
                                <tbody id="cacheKeys">
 | 
			
		||||
                                    <tr th:fragment="fragment-cache-kyes" th:each="cacheKey, stat : ${cacheKeys}">
 | 
			
		||||
                                        <td>[[${stat.index + 1}]]</td>
 | 
			
		||||
                                        <td style="word-wrap:break-word;word-break:break-all;" th:onclick="getCacheValue([[${cacheName}]], [[${cacheKey}]])">[[${cacheKey}]]</td>
 | 
			
		||||
                                        <td style="width: 50px"><a href="#" th:onclick="clearCacheKey([[${cacheName}]], [[${cacheKey}]])" title="清空"><i class="fa fa-trash-o text-danger"></i></a></td>
 | 
			
		||||
| 
						 | 
				
			
			@ -125,7 +125,7 @@ function getCacheKeys(cacheName, isMsg) {
 | 
			
		|||
            "fragment": 'fragment-cache-kyes'
 | 
			
		||||
        },
 | 
			
		||||
        success: function(data) {
 | 
			
		||||
            $("#cacheKyes").html(data);
 | 
			
		||||
            $("#cacheKeys").html(data);
 | 
			
		||||
            $("#cacheName").val(_cacheName);
 | 
			
		||||
            if (isMsg) {
 | 
			
		||||
                $.modal.msgSuccess("刷新键名列表成功");
 | 
			
		||||
| 
						 | 
				
			
			@ -174,7 +174,7 @@ function clearCacheKey(cacheName, cacheKey) {
 | 
			
		|||
function clearAll(){
 | 
			
		||||
	$.get(prefix + "/clearAll", function(result) {
 | 
			
		||||
		if (result.code == web_status.SUCCESS) {
 | 
			
		||||
			$.modal.msgSuccess("清理缓存成功")
 | 
			
		||||
			$.modal.msgSuccess("清理全部缓存成功")
 | 
			
		||||
        } else {
 | 
			
		||||
            $.modal.msgError(result.msg);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue