Commit e0429ce8 by 陶光胜

init

parent d0bbcc23
......@@ -6,15 +6,15 @@ import com.gic.bizdict.sdk.service.impl.RedisCacheBizdictService;
import com.gic.enterprise.dto.EnterpriseSmsPackageDTO;
import com.gic.enterprise.dto.PackageDTO;
import com.gic.enterprise.dto.SmsPackageDTO;
import com.gic.enterprise.service.PackApiService;
import com.gic.enterprise.service.PackageApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
@Service("packApiService")
public class PackageApiServiceImpl implements PackApiService {
@Service("packageApiService")
public class PackageApiServiceImpl implements PackageApiService {
@Autowired
private RedisCacheBizdictService bizdictService;
......
......@@ -30,8 +30,7 @@
<!--支付信息-->
<dubbo:service interface="com.gic.enterprise.service.BillingPayInfoApiService" ref="billingPayInfoApiService" timeout="60000" />
<dubbo:service interface="com.gic.enterprise.service.PackApiService" ref="packApiService" timeout="6000" />
<!--计费中心余额账户-->
<dubbo:service interface="com.gic.enterprise.service.BillingAccountApiService" ref="billingAccountApiService" timeout="6000" />
<dubbo:service interface="com.gic.enterprise.service.PackageApiService" ref="packApiService" timeout="6000" />
<dubbo:service interface="com.gic.enterprise.service.PackageApiService" ref="packageApiService" timeout="6000" />
</beans>
package com.gic.enterprise.web.controller;
import com.gic.enterprise.service.PackageApiService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -8,7 +9,6 @@ import org.springframework.web.bind.annotation.RestController;
import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.enterprise.service.BillingAccountApiService;
import com.gic.enterprise.service.PackApiService;
import com.gic.enterprise.utils.ResultControllerUtils;
/**
......@@ -25,7 +25,7 @@ public class BillingAccountController {
@Autowired
private BillingAccountApiService billingAccountApiService;
@Autowired
private PackApiService packApiService;
private PackageApiService packageApiService;
@RequestMapping("/billing-account-info")
public RestResponse billingAccountInfo() {
......@@ -35,6 +35,6 @@ public class BillingAccountController {
@RequestMapping("/list-package-type")
public RestResponse listPackageType() {
return ResultControllerUtils.commonResult(packApiService.listAllSmsPackage());
return ResultControllerUtils.commonResult(packageApiService.listAllSmsPackage());
}
}
......@@ -37,7 +37,7 @@
<dubbo:reference interface="com.gic.log.api.service.LogApiService" id="logApiService" timeout="60000" />
<!--支付信息-->
<dubbo:reference interface="com.gic.enterprise.service.BillingPayInfoApiService" id="billingPayInfoApiService" timeout="60000" />
<dubbo:reference interface="com.gic.enterprise.service.PackageApiService" id="packApiService" timeout="60000" />
<dubbo:reference interface="com.gic.enterprise.service.PackageApiService" id="packageApiService" timeout="60000" />
<!--发票管理-->
<dubbo:reference interface="com.gic.finance.service.InvoiceManageApiService" id="invoiceManageApiService" timeout="60000" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment