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
86605b2c
Commit
86605b2c
authored
Dec 25, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feign合并
parent
ec8e9e2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
37 deletions
+36
-37
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CustomScoreClient.java
+36
-37
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/thirdparty/CustomScoreClient.java
View file @
86605b2c
package
cn
.
freemud
.
service
.
thirdparty
;
//package cn.freemud.service.thirdparty;
//
import
cn.freemud.annotations.IgnoreFeignLogAnnotation
;
//import cn.freemud.annotations.IgnoreFeignLogAnnotation;
import
cn.freemud.constant.ResponseCodeConstant
;
//import cn.freemud.constant.ResponseCodeConstant;
import
cn.freemud.constant.ResponseCodeKeyConstant
;
//import cn.freemud.constant.ResponseCodeKeyConstant;
import
cn.freemud.entities.dto.user.GetUserScoreUseDetailRequest
;
//import cn.freemud.entities.dto.user.GetUserScoreUseDetailRequest;
import
cn.freemud.entities.dto.user.GetUserScoreUserDetailResponse
;
//import cn.freemud.entities.dto.user.GetUserScoreUserDetailResponse;
import
org.springframework.cloud.openfeign.FeignClient
;
//import org.springframework.cloud.openfeign.FeignClient;
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.RequestMapping
;
//import org.springframework.web.bind.annotation.RequestMapping;
//
/**
///**
* All rights Reserved, Designed By www.freemud.com
// * All rights Reserved, Designed By www.freemud.com
*
// *
* @version V1.0
// * @version V1.0
* @Title:
// * @Title:
* @Package: cn.freemud.service.thirdparty
// * @Package: cn.freemud.service.thirdparty
* @Descripttion:
// * @Descripttion:
* @author: shuhu.hou
// * @author: shuhu.hou
* @date: 2019/5/11
// * @date: 2019/5/11
* @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
// * @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目.
// * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目.
*/
// */
@FeignClient
(
name
=
"customer-application-service"
,
url
=
"${saas.customScoreClient.feign.url}"
)
//@FeignClient(name = "customer-application-service", url = "${saas.customScoreClient.feign.url}")
@RequestMapping
(
produces
=
{
"application/json;charset=UTF-8"
})
//@RequestMapping(produces = {"application/json;charset=UTF-8"})
public
interface
CustomScoreClient
{
//public interface CustomScoreClient {
//
//
// TODO: 21-3-31 和 CustomerApplicationClient 待合并
// /**
/**
// * 用户可用积分
* 用户可用积分
// */
*/
// @PostMapping(value = "/user/scoreUseDetail")
@PostMapping
(
value
=
"/user/scoreUseDetail"
)
// @IgnoreFeignLogAnnotation(logMessage = "getUserScoreUseDetail",excludeStatusCodes = {ResponseCodeConstant.RESPONSE_SUCCESS_STR},statusCodeFieldName= ResponseCodeKeyConstant.STATUS_CODE,messageFieldName=ResponseCodeKeyConstant.MSG)
@IgnoreFeignLogAnnotation
(
logMessage
=
"getUserScoreUseDetail"
,
excludeStatusCodes
=
{
ResponseCodeConstant
.
RESPONSE_SUCCESS_STR
},
statusCodeFieldName
=
ResponseCodeKeyConstant
.
STATUS_CODE
,
messageFieldName
=
ResponseCodeKeyConstant
.
MSG
)
// GetUserScoreUserDetailResponse getUserScoreUseDetail(@RequestBody GetUserScoreUseDetailRequest getUserScoreUseDetailRequest);
GetUserScoreUserDetailResponse
getUserScoreUseDetail
(
@RequestBody
GetUserScoreUseDetailRequest
getUserScoreUseDetailRequest
);
//}
}
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