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
8c4b927f
Commit
8c4b927f
authored
May 15, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推客分佣单阿波罗配置调整
parent
90ed7c9f
Pipeline
#75526
passed with stages
in 1 minute 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
SmsServiceImpl.java
...xuan/wx/store/sharer/biz/service/impl/SmsServiceImpl.java
+1
-2
RpcConfig.java
...yanxuan/wx/store/sharer/integration/config/RpcConfig.java
+1
-1
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/SmsServiceImpl.java
View file @
8c4b927f
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
biz
.
service
.
impl
;
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
biz
.
service
.
impl
;
import
com.netease.yanxuan.wx.store.sharer.biz.core.LoginUserContextHolder
;
import
com.netease.yanxuan.wx.store.sharer.biz.meta.enums.SmsScenesEnum
;
import
com.netease.yanxuan.wx.store.sharer.biz.meta.enums.SmsScenesEnum
;
import
com.netease.yanxuan.wx.store.sharer.biz.meta.model.bo.SmsCodeBO
;
import
com.netease.yanxuan.wx.store.sharer.biz.meta.model.bo.SmsCodeBO
;
import
com.netease.yanxuan.wx.store.sharer.biz.service.ISmsService
;
import
com.netease.yanxuan.wx.store.sharer.biz.service.ISmsService
;
...
@@ -78,7 +77,7 @@ public class SmsServiceImpl implements ISmsService {
...
@@ -78,7 +77,7 @@ public class SmsServiceImpl implements ISmsService {
// 生成6位随机数字
// 生成6位随机数字
String
code
=
RandomUtils
.
randomNumber
(
6
);
String
code
=
RandomUtils
.
randomNumber
(
6
);
// uas发送验证码
// uas发送验证码
boolean
success
=
iUasClient
.
sendSmsCode
(
LoginUserContextHolder
.
get
().
getOpenId
()
,
boolean
success
=
iUasClient
.
sendSmsCode
(
"1"
,
mobilePhone
,
code
,
scenes
,
scenesConfigBO
);
mobilePhone
,
code
,
scenes
,
scenesConfigBO
);
if
(!
success
)
{
if
(!
success
)
{
return
false
;
return
false
;
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/config/RpcConfig.java
View file @
8c4b927f
...
@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
...
@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
@EnableAutoUpdateApolloConfig
(
"rpc.config"
)
@EnableAutoUpdateApolloConfig
(
"rpc.config"
)
public
class
RpcConfig
{
public
class
RpcConfig
{
/**
/**
* uas
* uas
地址
*/
*/
@Value
(
"${uas.url:http://127.0.0.1:8550/proxy/test.logistics-uas.service.mailsaas}"
)
@Value
(
"${uas.url:http://127.0.0.1:8550/proxy/test.logistics-uas.service.mailsaas}"
)
private
String
uasUrl
;
private
String
uasUrl
;
...
...
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