|
@@ -112,11 +112,16 @@ public class SmsUtil {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static Boolean sendTencent(Integer cid, String mobile, String msg) {
|
|
public static Boolean sendTencent(Integer cid, String mobile, String msg) {
|
|
|
- String templateId = TENCENT_SMS_TEMPLATE_ID;
|
|
|
|
|
- if (cid != 86) {
|
|
|
|
|
- templateId = TENCENT_SMS_INTERNATIONAL_TEMPLATE_ID;
|
|
|
|
|
|
|
+// String templateId = TENCENT_SMS_TEMPLATE_ID;
|
|
|
|
|
+// if (cid != 86) {
|
|
|
|
|
+// templateId = TENCENT_SMS_INTERNATIONAL_TEMPLATE_ID;
|
|
|
|
|
+// }
|
|
|
|
|
+// return commonSendTencentSmsMsg(templateId, cid, mobile, msg);
|
|
|
|
|
+ try {
|
|
|
|
|
+ return SmsUtil.sendLuoKey2Msg(mobile, String.format("尊敬的用户,您的验证码为%s,此验证码仅用于银河录像。【崇宇信息】", msg));
|
|
|
|
|
+ } catch (Exception e) {
|
|
|
}
|
|
}
|
|
|
- return commonSendTencentSmsMsg(templateId, cid, mobile, msg);
|
|
|
|
|
|
|
+ return false;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static Boolean sendAccountInternalSmsMsg(Integer cid, String mobile, String msg) {
|
|
public static Boolean sendAccountInternalSmsMsg(Integer cid, String mobile, String msg) {
|