Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
cefb01e1
Commit
cefb01e1
authored
Jul 09, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主题接口修改
parent
65020671
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
FeignClientForCourse.java
...om/tanpu/community/feign/course/FeignClientForCourse.java
+2
-2
FeignClientForProducts.java
...tanpu/community/feign/product/FeignClientForProducts.java
+2
-2
FeignClientForTanpuroom.java
...pu/community/feign/tanpuroom/FeignClientForTanpuroom.java
+2
-2
FeignClientForZhibo.java
.../com/tanpu/community/feign/zhibo/FeignClientForZhibo.java
+2
-2
application-dev.yml
community-service/src/main/resources/application-dev.yml
+1
-1
No files found.
community-service/src/main/java/com/tanpu/community/feign/course/FeignClientForCourse.java
View file @
cefb01e1
...
@@ -11,8 +11,8 @@ import org.springframework.web.bind.annotation.GetMapping;
...
@@ -11,8 +11,8 @@ import org.springframework.web.bind.annotation.GetMapping;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
//@FeignClient(value = "service-product", contextId = "product",fallbackFactory = FeignBackClientForProducts.class, path = "/product
")
@FeignClient
(
value
=
"service-course"
,
contextId
=
"course"
,
fallbackFactory
=
FeignBackClientForProducts
.
class
,
url
=
"${tamp-course-order-svc}
"
)
@FeignClient
(
value
=
"service-course"
,
contextId
=
"course"
,
fallbackFactory
=
FeignBackClientForProducts
.
class
,
url
=
"http://127.0.0.1:8198/course"
)
//
@FeignClient(value = "service-course", contextId = "course", fallbackFactory = FeignBackClientForProducts.class, url = "http://127.0.0.1:8198/course")
public
interface
FeignClientForCourse
{
public
interface
FeignClientForCourse
{
...
...
community-service/src/main/java/com/tanpu/community/feign/product/FeignClientForProducts.java
View file @
cefb01e1
...
@@ -10,8 +10,8 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -10,8 +10,8 @@ import org.springframework.web.bind.annotation.RequestParam;
import
java.util.List
;
import
java.util.List
;
//@FeignClient(value = "service-product", contextId = "product",
fallbackFactory = FeignBackClientForProducts.class, path = "/product")
@FeignClient
(
value
=
"service-product"
,
url
=
"${tanpu.feo-product.svc:}"
,
fallbackFactory
=
FeignBackClientForProducts
.
class
,
path
=
"/product"
)
@FeignClient
(
value
=
"service-product"
,
contextId
=
"product"
,
fallbackFactory
=
FeignBackClientForProducts
.
class
,
url
=
"http://127.0.0.1:8194/product"
)
//
@FeignClient(value = "service-product", contextId = "product", fallbackFactory = FeignBackClientForProducts.class, url = "http://127.0.0.1:8194/product")
public
interface
FeignClientForProducts
{
public
interface
FeignClientForProducts
{
@ApiOperation
(
"获取产品详情"
)
@ApiOperation
(
"获取产品详情"
)
...
...
community-service/src/main/java/com/tanpu/community/feign/tanpuroom/FeignClientForTanpuroom.java
View file @
cefb01e1
...
@@ -13,8 +13,8 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -13,8 +13,8 @@ import org.springframework.web.bind.annotation.RequestParam;
import
java.util.List
;
import
java.util.List
;
//@FeignClient(value = "service-tanpuroom", contextId = "tanpuroom
", fallbackFactory = FeignBackClientForTanpuroom.class, path = "/tanpuroom")
@FeignClient
(
value
=
"service-tanpuroom"
,
url
=
"${tanpu.feo-tanpuroom.svc:}
"
,
fallbackFactory
=
FeignBackClientForTanpuroom
.
class
,
path
=
"/tanpuroom"
)
@FeignClient
(
value
=
"service-tanpuroom"
,
contextId
=
"tanpuroom"
,
fallbackFactory
=
FeignBackClientForTanpuroom
.
class
,
url
=
"http://127.0.0.1:8086/tanpuroom"
)
//
@FeignClient(value = "service-tanpuroom", contextId = "tanpuroom", fallbackFactory = FeignBackClientForTanpuroom.class, url = "http://127.0.0.1:8086/tanpuroom")
public
interface
FeignClientForTanpuroom
{
public
interface
FeignClientForTanpuroom
{
...
...
community-service/src/main/java/com/tanpu/community/feign/zhibo/FeignClientForZhibo.java
View file @
cefb01e1
...
@@ -12,8 +12,8 @@ import org.springframework.web.bind.annotation.RequestBody;
...
@@ -12,8 +12,8 @@ import org.springframework.web.bind.annotation.RequestBody;
import
java.util.List
;
import
java.util.List
;
//@FeignClient(value = "service-zhibo
", fallbackFactory = FeignbackForZhibo.class, path = "/zhibo")
@FeignClient
(
value
=
"service-zhibo"
,
url
=
"${tanpu.feo-zhibo.svc:}
"
,
fallbackFactory
=
FeignbackForZhibo
.
class
,
path
=
"/zhibo"
)
@FeignClient
(
value
=
"service-zhibo"
,
fallbackFactory
=
FeignbackForZhibo
.
class
,
url
=
"http://127.0.0.1:8183/zhibo"
)
//
@FeignClient(value = "service-zhibo", fallbackFactory = FeignbackForZhibo.class, url = "http://127.0.0.1:8183/zhibo")
public
interface
FeignClientForZhibo
{
public
interface
FeignClientForZhibo
{
@ApiOperation
(
value
=
"根据直播间id查询直播间信息"
)
@ApiOperation
(
value
=
"根据直播间id查询直播间信息"
)
...
...
community-service/src/main/resources/application-dev.yml
View file @
cefb01e1
apollo.bootstrap.enabled
:
fals
e
apollo.bootstrap.enabled
:
tru
e
#app.id: tanpu-community
#app.id: tanpu-community
#apollo:
#apollo:
...
...
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