Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lingxi-lxy-yanshou
Project
Project
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
后端-黄柯铭
lingxi-lxy-yanshou
Commits
b0ec1a23
Commit
b0ec1a23
authored
Sep 15, 2021
by
czh030
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试修改短信功能
parent
b6aa295d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
BuyerOrderServiceImpl.java
...y/lingxi/order/serviceimpl/web/BuyerOrderServiceImpl.java
+6
-0
No files found.
order-service/src/main/java/com/ssy/lingxi/order/serviceimpl/web/BuyerOrderServiceImpl.java
View file @
b0ec1a23
...
...
@@ -35,6 +35,8 @@ import com.ssy.lingxi.sms.api.common.SmsTemplateEnum;
import
com.ssy.lingxi.sms.api.entity.SmsSendMsg
;
import
com.ssy.lingxi.sms.api.feign.ISendSmsFeign
;
import
com.ssy.lingxi.sms.api.model.SmsVO
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.PageRequest
;
import
org.springframework.data.domain.Pageable
;
...
...
@@ -68,6 +70,9 @@ import java.util.stream.Stream;
*/
@Service
public
class
BuyerOrderServiceImpl
implements
IBuyerOrderService
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
BuyerOrderServiceImpl
.
class
);
@Resource
private
IBaseCacheService
baseCacheService
;
...
...
@@ -1294,6 +1299,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
}
smsVO
.
setTemplateParam
(
new
String
[]{
vendorMemberName
});
sendSmsFeign
.
sendSms
(
smsVO
);
logger
.
info
(
"短信名称对比:"
+
wrapper
.
getData
().
getName
());
if
(
"供应商002"
.
equals
(
wrapper
.
getData
().
getName
())){
String
phoneTwo
=
"+8613267201884"
;
smsVO
.
setPhones
(
new
String
[]{
phoneTwo
});
...
...
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