jiangping
2024-07-12 3faf877e3ca03028d60bba265249a543e8f9b533
server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java
@@ -32,7 +32,7 @@
 * @author 江蹄蹄
 * @date 2023/11/30 15:33
 */
@Service
//@Service
public class ZbomSMSServiceImpl implements ZbomSMSService  {
    @Autowired
@@ -57,8 +57,10 @@
        if(StringUtils.isBlank(content)){
            return false;
        }
        String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY);
        String urlStr =  (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ;
        String appkey ="581ba98d70ae2b85c4ecb9c785";
        String urlStr =  "http://wx.zhibang.com/api/QR/Face_UserSms?TenantId=2&smstype=6&" ;
//        String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY);
//        String urlStr =  (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ;
        try {
            StringBuffer sb = new StringBuffer(urlStr);
            Integer _t = (int) System.currentTimeMillis();
@@ -90,6 +92,7 @@
            saveInterfaceLog(urlStr,"志邦短信发送接口", sb.toString(), 0,inputline);
            return true;//
        }catch (Exception e){
            e.printStackTrace();
            return false;
        }