解冻划款
parent
367b02f7ff
commit
7a317510e2
|
|
@ -5,7 +5,13 @@ import com.czcb.scfs.api.core.Profile;
|
|||
import com.czcb.scfs.api.core.http.ApiClientBuilder;
|
||||
import com.czcb.scfs.api.service.health.EchoService;
|
||||
import com.czcb.scfs.api.service.v1.account.AccountService;
|
||||
import com.czcb.scfs.api.service.v1.bmd.BmdService;
|
||||
import com.czcb.scfs.api.service.v1.face.FaceService;
|
||||
import com.czcb.scfs.api.service.v1.file.FileService;
|
||||
import com.czcb.scfs.api.service.v1.ocr.OcrService;
|
||||
import com.czcb.scfs.api.service.v1.pay.PayService;
|
||||
import com.czcb.scfs.api.service.v1.sms.SmsService;
|
||||
import com.czcb.scfs.api.service.v1.trans.TransService;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
|
@ -32,14 +38,44 @@ public class ScfsAutoConfiguration {
|
|||
.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public AccountService accountService(ApiClient apiClient) {
|
||||
return new AccountService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public BmdService bmdService(ApiClient apiClient) {
|
||||
return new BmdService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public FaceService faceService(ApiClient apiClient) {
|
||||
return new FaceService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public OcrService ocrService(ApiClient apiClient) {
|
||||
return new OcrService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PayService payService(ApiClient apiClient) {
|
||||
return new PayService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public FileService fileService(ApiClient apiClient) {
|
||||
return new FileService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SmsService smsService(ApiClient apiClient) {
|
||||
return new SmsService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public AccountService accountService(ApiClient apiClient) {
|
||||
return new AccountService(apiClient);
|
||||
public TransService transService(ApiClient apiClient) {
|
||||
return new TransService(apiClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
|
|
|||
Loading…
Reference in New Issue