Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-mobile
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3fc7cfd
authored
Oct 30, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩提交表单 - 返回值类型变化
parent
cb4a509c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/main/java/com/ctrip/fun/golf/api/version/ActiveCustomerMController.java
src/main/java/com/ctrip/fun/golf/service/user/ActiveCustomerService.java
src/main/java/com/ctrip/fun/golf/api/version/ActiveCustomerMController.java
View file @
d3fc7cfd
...
...
@@ -23,9 +23,9 @@ public class ActiveCustomerMController {
@RequestMapping
(
value
=
"/insertOne"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
Response
<
Integer
>
updateUserContract
(
@RequestBody
ActiveCustomerBean
userContractsBean
)
{
public
Response
<
Object
>
updateUserContract
(
@RequestBody
ActiveCustomerBean
userContractsBean
)
{
Response
<
Integer
>
response
=
activeCustomerService
.
insertOne
(
userContractsBean
);
Response
<
Object
>
response
=
activeCustomerService
.
insertOne
(
userContractsBean
);
return
response
;
}
...
...
src/main/java/com/ctrip/fun/golf/service/user/ActiveCustomerService.java
View file @
d3fc7cfd
...
...
@@ -21,7 +21,7 @@ public class ActiveCustomerService extends BaseService {
public
Response
<
Integer
>
insertOne
(
ActiveCustomerBean
userContractsBean
)
{
public
Response
<
Object
>
insertOne
(
ActiveCustomerBean
userContractsBean
)
{
String
uri
=
super
.
getServiceUri
(
"uri.activeCustomer.insertOne"
);
Request
<
ActiveCustomerBean
>
request
=
new
Request
<
ActiveCustomerBean
>();
...
...
@@ -29,7 +29,7 @@ public class ActiveCustomerService extends BaseService {
HttpEntity
<
Request
<
ActiveCustomerBean
>>
entity
=
new
HttpEntity
<
Request
<
ActiveCustomerBean
>>(
request
);
Response
<
Integer
>
response
=
super
.
exchange
(
uri
,
HttpMethod
.
POST
,
entity
,
new
ParameterizedTypeReference
<
Response
<
Integer
>>()
{
Response
<
Object
>
response
=
super
.
exchange
(
uri
,
HttpMethod
.
POST
,
entity
,
new
ParameterizedTypeReference
<
Response
<
Object
>>()
{
}).
getBody
();
if
(
null
!=
response
)
{
...
...
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