Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-wx-store-sharer
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wx
yanxuan-wx-store-sharer
Commits
f3fa0df4
Commit
f3fa0df4
authored
May 15, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推客短信发送调试
parent
91352be3
Pipeline
#75551
passed with stages
in 1 minute 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
UserInfoClientImpl.java
...re/sharer/integration/client/impl/UserInfoClientImpl.java
+5
-4
UserInfoFacade.java
...an/wx/store/sharer/integration/facade/UserInfoFacade.java
+2
-2
No files found.
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/client/impl/UserInfoClientImpl.java
View file @
f3fa0df4
...
...
@@ -7,12 +7,13 @@
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
integration
.
client
.
impl
;
import
com.alibaba.fastjson.JSON
;
import
com.netease.yanxuan.
missa.specs.interfaces.response.MissaResponse
;
import
com.netease.yanxuan.
userinfo.client.meta.CommonResult
;
import
com.netease.yanxuan.wx.store.sharer.integration.client.IUserInfoClient
;
import
com.netease.yanxuan.wx.store.sharer.integration.facade.UserInfoFacade
;
import
com.netease.yanxuan.wx.store.sharer.integration.meta.model.bo.UserInfoVerifyByIdentityNoBO
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.stereotype.Service
;
...
...
@@ -27,10 +28,10 @@ public class UserInfoClientImpl implements IUserInfoClient {
log
.
info
(
"[op:UserInfoClientImpl:verifyByIdentityNo] realName:{}, identityNo:{}"
,
realName
,
identityNo
);
try
{
UserInfoVerifyByIdentityNoBO
bo
=
UserInfoVerifyByIdentityNoBO
.
builder
().
realName
(
realName
).
identityNo
(
identityNo
).
build
();
MissaResponse
<
Boolean
>
missaResponse
=
userInfoFacade
.
verifyByIdentityNo
(
bo
);
CommonResult
<
Boolean
>
missaResponse
=
userInfoFacade
.
verifyByIdentityNo
(
bo
);
log
.
info
(
"[op:UserInfoClientImpl:verifyByIdentityNo] missaResponse:{}"
,
JSON
.
toJSONString
(
missaResponse
));
if
(
null
!=
missaResponse
&&
missaResponse
.
isOK
())
{
return
missaResponse
.
get
Data
();
if
(
null
!=
missaResponse
&&
HttpStatus
.
OK
.
value
()
==
missaResponse
.
getCode
())
{
return
missaResponse
.
get
Result
();
}
}
catch
(
Exception
e
)
{
log
.
error
(
"[op:UserInfoClientImpl:verifyByIdentityNo] is error"
,
e
);
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/facade/UserInfoFacade.java
View file @
f3fa0df4
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
integration
.
facade
;
import
com.netease.yanxuan.missa.client.annotation.MissaClient
;
import
com.netease.yanxuan.
missa.specs.interfaces.response.MissaResponse
;
import
com.netease.yanxuan.
userinfo.client.meta.CommonResult
;
import
com.netease.yanxuan.wx.store.sharer.integration.meta.model.bo.UserInfoVerifyByIdentityNoBO
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -11,5 +11,5 @@ import org.springframework.web.bind.annotation.RequestMethod;
public
interface
UserInfoFacade
{
@RequestMapping
(
value
=
"/user/realName/verifyByIdentityNo"
,
method
=
RequestMethod
.
POST
)
MissaResponse
<
Boolean
>
verifyByIdentityNo
(
@RequestBody
UserInfoVerifyByIdentityNoBO
bo
);
CommonResult
<
Boolean
>
verifyByIdentityNo
(
@RequestBody
UserInfoVerifyByIdentityNoBO
bo
);
}
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