添加feign实现
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.sdm.common.feign.impl.system;
|
||||
|
||||
import com.sdm.common.common.SdmResponse;
|
||||
import com.sdm.common.entity.req.system.LaunchApproveReq;
|
||||
import com.sdm.common.feign.inter.system.IApproveFeignClient;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Map;
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ApproveFeignClientImpl implements IApproveFeignClient {
|
||||
|
||||
@Autowired
|
||||
private IApproveFeignClient approveFeignClient;
|
||||
@Override
|
||||
public SdmResponse launchApproval(Map<String, String> hashHeader, LaunchApproveReq approveReq) {
|
||||
SdmResponse response = approveFeignClient.launchApproval(hashHeader, approveReq);
|
||||
return response;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user