remove CacheFactory

This commit is contained in:
Crystal.Sea
2021-10-18 11:07:55 +08:00
parent 75f117d8be
commit cbed76953b
10 changed files with 24 additions and 323 deletions

View File

@@ -0,0 +1,18 @@
package org.gateway.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.Map;
@RestController
public class FallbackController {
@RequestMapping("/defaultFallback")
public Map<String , Object> defaultFallback() {
Map<String , Object> map = new HashMap<>();
map.put("code", 1);
map.put("message", "服务异常");
return map;
}
}