edit-api-create_clue
This commit is contained in:
@@ -133,7 +133,7 @@ class Aptinfo extends Wxapp{
|
||||
$brand_row = $this->auto_brand_model->get(['id'=>$cms_row['target_id']]);
|
||||
$recommend_id && $cf_id = 8;
|
||||
}
|
||||
$row = $this->clues_model->get(['mobile'=>$this->session['mobile'],'app_id'=>$this->app_id]);
|
||||
$row = $this->clues_model->get(['mobile'=>$this->session['mobile']]);
|
||||
if($row){
|
||||
$update = [
|
||||
'en_time' => date('Y-m-d H:i:s')
|
||||
|
||||
@@ -44,7 +44,7 @@ class Clues extends Wxapp{
|
||||
if(!mobile_valid($mobile)){
|
||||
throw new Exception('手机号格式错误', ERR_PARAMS_ERROR);
|
||||
}
|
||||
$row = $this->receiver_clues_model->get(['app_id'=>$this->app_id,'mobile'=>$mobile,'cf_uid'=>$this->session['uid']]);
|
||||
$row = $this->receiver_clues_model->get(['mobile'=>$mobile]);
|
||||
if($row){
|
||||
throw new Exception('该手机号已报备', ERR_PARAMS_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user