|
@@ -38,4 +38,23 @@ class send_message extends AliyunSms{
|
|
|
return self::sendSms($phone,"中世康恺","SMS_153325903",array("t" => $type, "c" => $content));
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * 发送[登录短信验证码]短信
|
|
|
+ * 通知: 类型:${code} 验证码
|
|
|
+ * @param {string} phone 手机号码
|
|
|
+ * @param {string} code 验证码
|
|
|
+ */
|
|
|
+ public static function sendSms2Login($phone,$code) {
|
|
|
+ return self::sendSms($phone,"中世康恺","SMS_163620994",array("code" => $codo));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 发送[修改短信验证码]短信
|
|
|
+ * 通知: 类型:${code} 验证码
|
|
|
+ * @param {string} phone 手机号码
|
|
|
+ * @param {string} code 验证码
|
|
|
+ */
|
|
|
+ public static function sendSms2UpDate($phone,$code) {
|
|
|
+ return self::sendSms($phone,"中世康恺","SMS_163620994",array("code" => $codo));
|
|
|
+ }
|
|
|
}
|