zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.changhong.epc.zuul.rest;
 
import com.iemsoft.framework.cloud.redis.annotation.CacheRm;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
 
import static com.changhong.epc.constter.cache.admin.InitCompanyCache.INIT_COMPANY_INFO;
import static com.changhong.epc.constter.cache.admin.InitCompanyCache.INIT_COMPANY_INFO_LIST;
 
@RestController
public class CacheRest {
 
    @CacheRm(value = {INIT_COMPANY_INFO, INIT_COMPANY_INFO_LIST}, tenant = false, company = false)
    @GetMapping("/rm/initCompany")
    public Object rmInitCompany(){
        return 1;
    }
 
}