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
91352be3
Commit
91352be3
authored
May 15, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推客短信发送调试
parent
a7fa51fb
Pipeline
#75550
passed with stages
in 1 minute 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SmsServiceImpl.java
...xuan/wx/store/sharer/biz/service/impl/SmsServiceImpl.java
+2
-2
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/SmsServiceImpl.java
View file @
91352be3
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.model.bo.SmsCodeBO
;
import
com.netease.yanxuan.wx.store.sharer.biz.service.ISmsService
;
...
...
@@ -19,7 +20,6 @@ import org.springframework.stereotype.Service;
import
java.time.LocalDate
;
import
java.time.format.DateTimeFormatter
;
import
java.util.UUID
;
import
java.util.concurrent.TimeUnit
;
...
...
@@ -78,7 +78,7 @@ public class SmsServiceImpl implements ISmsService {
// 生成6位随机数字
String
code
=
RandomUtils
.
randomNumber
(
6
);
// uas发送验证码
boolean
success
=
iUasClient
.
sendSmsCode
(
UUID
.
randomUUID
().
toString
(),
boolean
success
=
iUasClient
.
sendSmsCode
(
LoginUserContextHolder
.
get
().
getOpenId
(),
mobilePhone
,
code
,
scenes
,
scenesConfigBO
);
if
(!
success
)
{
return
false
;
...
...
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