|
@@ -168,27 +168,31 @@ class Login extends Controller
|
|
|
* @param {string} time 时间
|
|
|
* @param {string} name 姓名(姓)
|
|
|
*/
|
|
|
- // AliyunSms::sendSms2Apply($phone, $time = '', $name = '');
|
|
|
- liyunSms::sendSms2Apply("18246195584", '12:00');
|
|
|
+ // AliyunSms::sendSms2Apply($phone, $time=, $name=);
|
|
|
+ liyunSms::sendSms2Apply("13763459789", '12:00', '刘');
|
|
|
/*
|
|
|
* 向下级医师发送[远程诊断申请被驳回]短信
|
|
|
* 很抱歉,您发起的远程诊断申请被驳回,请您及时处理后重新发起申请。驳回原因:${description}
|
|
|
* @param {string} description 驳回理由
|
|
|
*/
|
|
|
- // AliyunSms::sendSms2RejectApply($phone, $description = '');
|
|
|
-
|
|
|
+ // AliyunSms::sendSms2RejectApply($phone, $description);
|
|
|
+ liyunSms::sendSms2RejectApply("13763459789", '申请单描述信息不全');
|
|
|
+
|
|
|
/*
|
|
|
* 向下级医院发送[远程诊断报告已经被写完]短信
|
|
|
* 您发起的远程诊断申请已由${doctor}医师完成,请您登录系统查看
|
|
|
* @param {string} doctor 医生
|
|
|
*/
|
|
|
- // AliyunSms::sendSms2CompleteReport($phone, $doctor = '');
|
|
|
+ // AliyunSms::sendSms2CompleteReport($phone, $doctor);
|
|
|
+ AliyunSms::sendSms2CompleteReport("13763459789", "301医师集团刘桂岩");
|
|
|
|
|
|
- /*
|
|
|
+ /*
|
|
|
* 发送[内部通知]短信
|
|
|
- * 通知:${content}
|
|
|
+ * 通知: 类型:${type} 内容:${content}
|
|
|
+ * @param {string} type 通知类型
|
|
|
* @param {string} content 通知内容
|
|
|
*/
|
|
|
- // AliyunSms::sendSms2Self($phone, $content = '');
|
|
|
+ // AliyunSms::sendSms2Self($phone, $type, $content);
|
|
|
+ AliyunSms::sendSms2Self("13763459789", "发起申请", "魏庙xx医院xx医师向301医师集团刘xx医师发起了远程诊断申请,申请单idxxx");
|
|
|
}
|
|
|
}
|