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;
|
}
|
|
}
|