Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-enterprise
Commits
e0429ce8
Commit
e0429ce8
authored
Aug 16, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d0bbcc23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
PackageApiServiceImpl.java
...m/gic/enterprise/service/outer/PackageApiServiceImpl.java
+3
-3
dubbo-gic-platform-enterprise-service.xml
.../main/resources/dubbo-gic-platform-enterprise-service.xml
+1
-2
BillingAccountController.java
...c/enterprise/web/controller/BillingAccountController.java
+3
-3
dubbo-gic-platform-enterprise-web.xml
.../src/main/resources/dubbo-gic-platform-enterprise-web.xml
+1
-1
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/PackageApiServiceImpl.java
View file @
e0429ce8
...
...
@@ -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.Pack
age
ApiService
;
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
(
"pack
age
ApiService"
)
public
class
PackageApiServiceImpl
implements
Pack
age
ApiService
{
@Autowired
private
RedisCacheBizdictService
bizdictService
;
...
...
gic-platform-enterprise-service/src/main/resources/dubbo-gic-platform-enterprise-service.xml
View file @
e0429ce8
...
...
@@ -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=
"pack
age
ApiService"
timeout=
"6000"
/>
</beans>
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/BillingAccountController.java
View file @
e0429ce8
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
Pack
ApiService
pack
ApiService
;
private
Pack
ageApiService
package
ApiService
;
@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
(
pack
age
ApiService
.
listAllSmsPackage
());
}
}
gic-platform-enterprise-web/src/main/resources/dubbo-gic-platform-enterprise-web.xml
View file @
e0429ce8
...
...
@@ -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=
"pack
age
ApiService"
timeout=
"60000"
/>
<!--发票管理-->
<dubbo:reference
interface=
"com.gic.finance.service.InvoiceManageApiService"
id=
"invoiceManageApiService"
timeout=
"60000"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment