Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
28fbc8ae
Commit
28fbc8ae
authored
Feb 05, 2021
by
zhiheng.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级后请求方式修改
parent
5c221290
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
order-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineClient.java
+2
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineClient.java
+2
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineMCCafeClient.java
+2
-1
No files found.
order-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineClient.java
View file @
28fbc8ae
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -20,6 +21,6 @@ public interface CouponOnlineClient {
...
@@ -20,6 +21,6 @@ public interface CouponOnlineClient {
@PostMapping
(
value
=
"/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
@PostMapping
(
value
=
"/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
)
)
GetCouponDetailResponseDto
getCouponDetails
(
@Request
Body
Map
<
String
,
?>
map
);
GetCouponDetailResponseDto
getCouponDetails
(
@Request
Param
Map
<
String
,
?>
map
);
}
}
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineClient.java
View file @
28fbc8ae
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -20,6 +21,6 @@ public interface CouponOnlineClient {
...
@@ -20,6 +21,6 @@ public interface CouponOnlineClient {
@PostMapping
(
value
=
"/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
@PostMapping
(
value
=
"/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
)
)
GetCouponDetailResponseDto
getCouponDetails
(
@Request
Body
Map
<
String
,
?>
map
);
GetCouponDetailResponseDto
getCouponDetails
(
@Request
Param
Map
<
String
,
?>
map
);
}
}
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CouponOnlineMCCafeClient.java
View file @
28fbc8ae
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
...
@@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -20,6 +21,6 @@ public interface CouponOnlineMCCafeClient {
...
@@ -20,6 +21,6 @@ public interface CouponOnlineMCCafeClient {
@PostMapping
(
value
=
"/mccafe/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
@PostMapping
(
value
=
"/mccafe/code_v4"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
,
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
consumes
=
{
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
}
)
)
GetCouponDetailResponseDto
getMCCafeCouponDetails
(
@Request
Body
Map
<
String
,
?>
map
);
GetCouponDetailResponseDto
getMCCafeCouponDetails
(
@Request
Param
Map
<
String
,
?>
map
);
}
}
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