Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
d3b33914
Commit
d3b33914
authored
Dec 13, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调用玩物得志社区接口获取用户签名,优化为空的情况
parent
1ca5fbed
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
...n/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
+3
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/FollowFansRecordServiceImpl.java
...java/com/wwdz/ch/wx/impl/FollowFansRecordServiceImpl.java
+2
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/ItemServiceImpl.java
...pi/src/main/java/com/wwdz/ch/wx/impl/ItemServiceImpl.java
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserServiceImpl.java
...pi/src/main/java/com/wwdz/ch/wx/impl/UserServiceImpl.java
+2
-2
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
View file @
d3b33914
...
@@ -9,6 +9,7 @@ import com.wwdz.ch.admin.service.ItemService;
...
@@ -9,6 +9,7 @@ import com.wwdz.ch.admin.service.ItemService;
import
com.wwdz.ch.core.consts.ConsignSaleEnum
;
import
com.wwdz.ch.core.consts.ConsignSaleEnum
;
import
com.wwdz.ch.core.consts.ItemStateEnum
;
import
com.wwdz.ch.core.consts.ItemStateEnum
;
import
com.wwdz.ch.core.entity.ConsignSaleVo
;
import
com.wwdz.ch.core.entity.ConsignSaleVo
;
import
com.wwdz.ch.core.type.PageSearchResult
;
import
com.wwdz.ch.core.type.Result
;
import
com.wwdz.ch.core.type.Result
;
import
com.wwdz.ch.core.util.MediaUtil
;
import
com.wwdz.ch.core.util.MediaUtil
;
import
com.wwdz.ch.db.dao.ConsignSaleDao
;
import
com.wwdz.ch.db.dao.ConsignSaleDao
;
...
@@ -87,7 +88,8 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
...
@@ -87,7 +88,8 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
}
}
consignSaleVoList
.
add
(
consignSaleVo
);
consignSaleVoList
.
add
(
consignSaleVo
);
});
});
return
Result
.
success
(
consignSaleVoList
);
PageSearchResult
pageSearchResult
=
PageSearchResult
.
of
(
pageInfo
,
consignSaleVoList
);
return
Result
.
success
(
pageSearchResult
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
"查询寄售单列表 error:{}"
,
e
);
logger
.
error
(
"查询寄售单列表 error:{}"
,
e
);
}
}
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/FollowFansRecordServiceImpl.java
View file @
d3b33914
...
@@ -183,7 +183,7 @@ public class FollowFansRecordServiceImpl implements FollowFansRecordService {
...
@@ -183,7 +183,7 @@ public class FollowFansRecordServiceImpl implements FollowFansRecordService {
try
{
try
{
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
f
.
getFollowerId
());
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
f
.
getFollowerId
());
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
followFansRecordVo
.
setFollowerProfile
(
response
.
getResult
().
getSignature
());
followFansRecordVo
.
setFollowerProfile
(
response
.
getResult
()
==
null
?
null
:
response
.
getResult
()
.
getSignature
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
...
@@ -231,7 +231,7 @@ public class FollowFansRecordServiceImpl implements FollowFansRecordService {
...
@@ -231,7 +231,7 @@ public class FollowFansRecordServiceImpl implements FollowFansRecordService {
try
{
try
{
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
f
.
getFansId
());
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
f
.
getFansId
());
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
followFansRecordVo
.
setFansProfile
(
response
.
getResult
().
getSignature
());
followFansRecordVo
.
setFansProfile
(
response
.
getResult
()
==
null
?
null
:
response
.
getResult
()
.
getSignature
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/ItemServiceImpl.java
View file @
d3b33914
...
@@ -797,7 +797,7 @@ public class ItemServiceImpl implements ItemService {
...
@@ -797,7 +797,7 @@ public class ItemServiceImpl implements ItemService {
try
{
try
{
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
itemResponseVo
.
getItemUserId
());
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
itemResponseVo
.
getItemUserId
());
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
itemResponseVo
.
setProfile
(
response
.
getResult
().
getSignature
());
itemResponseVo
.
setProfile
(
response
.
getResult
()
==
null
?
null
:
response
.
getResult
()
.
getSignature
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserServiceImpl.java
View file @
d3b33914
...
@@ -499,7 +499,7 @@ public class UserServiceImpl implements UserService {
...
@@ -499,7 +499,7 @@ public class UserServiceImpl implements UserService {
try
{
try
{
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
userId
);
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
userId
);
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
user
.
setProfile
(
response
.
getResult
().
getSignature
());
user
.
setProfile
(
response
.
getResult
()
==
null
?
null
:
response
.
getResult
()
.
getSignature
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
...
@@ -585,7 +585,7 @@ public class UserServiceImpl implements UserService {
...
@@ -585,7 +585,7 @@ public class UserServiceImpl implements UserService {
try
{
try
{
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
dto
.
getUserId
());
CloudServerResponse
<
CommunityUserAttributeDO
>
response
=
communityAttributeReadService
.
getCommunityUserAttributeByUserId
(
dto
.
getUserId
());
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
userInfo
.
setProfile
(
response
.
getResult
().
getSignature
());
userInfo
.
setProfile
(
response
.
getResult
()
==
null
?
null
:
response
.
getResult
()
.
getSignature
());
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
logger
.
error
(
">>>>>>>>> 调用社区用户查询接口获取用户签名出错:{}"
,
e
);
...
...
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