sinake
昨天 7eb77f959d2e60fced8c5f1486ba205fc7282428
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/GiLinkService.java
@@ -8,6 +8,7 @@
import com.ruoyi.project.mapper.GiLinkMapper;
import com.ruoyi.project.service.IGiLinkService;
import com.ruoyi.system.service.ISysUserService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.ObjectUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -16,6 +17,7 @@
import java.util.Random;
@Service
@Slf4j
public class GiLinkService  extends ServiceImpl<GiLinkMapper, GiLink> implements IGiLinkService {
    @Autowired
    GiLinkMapper mapper;
@@ -57,6 +59,7 @@
            String content = "案例上报通知:【青岛大学附属医院】" + toHospital
                    + "上报潜在捐献案例,请登录OPO系统查看详细信息,及时进行对接。登录链接:" + reportUrl + " 。";
            SmsUtils sms=new SmsUtils();
            log.info("上报发送短信:"+content);
            res=sms.send(user.getPhonenumber(),content);
        }
        return res;
@@ -81,6 +84,7 @@
            String content = "伦理专家审查通知:【青岛大学附属医院】尊敬的专家您好!您有紧急人体器官移植伦理审查申请待处理," +
                    "请务必于1小时内登录医院OPO系统进行审批。登录链接: " + expertUrl + "。谢谢 。";
            SmsUtils sms=new SmsUtils();
            log.info("专家发送短信:"+content);
            res=sms.send(user.getPhonenumber(),content);
        }
        return res;