|
|
@ -4,6 +4,7 @@ import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
|
import com.epmet.commons.tools.utils.ModuleUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dto.form.ExternalAppAuthFormDTO; |
|
|
|
import com.epmet.dto.form.GetJwtAccessTokenFormDTO; |
|
|
|
import com.epmet.dto.form.WorkDayFormDTO; |
|
|
|
import com.epmet.dto.result.ExternalAppAuthResultDTO; |
|
|
|
import com.epmet.dto.result.WorkDayResultDTO; |
|
|
@ -39,4 +40,9 @@ public class EpmetCommonServiceOpenFeignClientFallback implements EpmetCommonSer |
|
|
|
public Result getSecret(String appId) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_COMMON_SERVICE, "getSecret", appId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result getAccessToken(GetJwtAccessTokenFormDTO form) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_COMMON_SERVICE, "getAccessToken", form); |
|
|
|
} |
|
|
|
} |
|
|
|