package com.xueyi.system.api.resource.feign;

import com.xueyi.common.core.constant.basic.ServiceConstants;
import com.xueyi.common.core.web.result.R;
import com.xueyi.system.api.resource.feign.factory.RemoteH5ConfigFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(contextId = "remoteH5ConfigService", value = ServiceConstants.SYSTEM_SERVICE, fallbackFactory = RemoteH5ConfigFallbackFactory.class)
public interface RemoteH5ConfigService {

    @GetMapping("/h5config/inner/syncH5Config")
    R<String> syncH5Config(@RequestParam(value = "tId",required = false) String tId);
}
