zxhxx 3 years ago
parent
commit
1c29e31a74
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/common/model/Sos.php

+ 1 - 0
application/common/model/Sos.php

@@ -52,6 +52,7 @@ class Sos extends BaseModel
             if(SosBill::where('id', $where['user_id'])->where('rescuers_id',$where['rescuers_id'])->whereTime('createtime',"today")->find()) return self::setErrorInfo('已求救,不用重复发起!');
             $where1 = $where;
             unset($where1['from']);
+            unset($where1['re_url']);
             $res = self::create($where1);
             $user_phone = User::where('id', $where['user_id'])->value('mobile');
             $rescue_phone = User::where('id', $where['rescuers_user_id'])->value('mobile');