| | |
| | | import com.matrix.core.constance.MatrixConstance; |
| | | import com.matrix.core.pojo.AjaxResult; |
| | | import com.matrix.core.web.BaseAction; |
| | | import com.matrix.system.common.init.LocalCache; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | return new AjaxResult(AjaxResult.STATUS_SUCCESS, "debug模式开启"); |
| | | } |
| | | |
| | | @RequestMapping("/getLocalCache") |
| | | public @ResponseBody AjaxResult getLocalCache(String key) { |
| | | return AjaxResult.buildSuccessInstance(LocalCache.getValues(key)); |
| | | } |
| | | |
| | | |
| | | } |