Commit b0ec1a23 authored by czh030's avatar czh030

测试修改短信功能

parent b6aa295d
......@@ -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});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment