|
@@ -226,6 +226,9 @@ class Application extends Base
|
|
|
if(isset($param['apply']) && !empty($param['apply'])){
|
|
|
//保存 申请
|
|
|
DB::table('exams')->where('id',$param['id'])->update(['exam_status'=>4,'updatedAt'=>date('Y-m-d H:i:s',time())]);
|
|
|
+ if(isset($param['remote_doctor_id']) && $param['remote_doctor_id'] == 'c44663d6d3c0b535'){
|
|
|
+ $response = AliyunSms::sendSms('13764569789', '中世康恺','SMS_153325044',array("name" => "刘", "time" => date('H:i',strtotime('+1 hour'))));
|
|
|
+ }
|
|
|
}
|
|
|
return json_encode(['status'=>'ok','code'=>'0000','sessionid'=>$sessionid]);
|
|
|
}catch(\Exception $e){
|