api_biz_1103_2
This commit is contained in:
@@ -218,12 +218,12 @@ AND bill_time='0000-00-00 00:00:00' GROUP BY cor_id ORDER BY in_time DESC";
|
||||
'p_time' => date('Y-m-d H:i:s'),
|
||||
'c_time' => time()
|
||||
];
|
||||
$where = ['biz_id' => $biz_id, 'mobile' => $add_data['mobile'], 'cf_id' => $this->cf_id];
|
||||
$where = ['biz_id' => $biz_id, 'mobile' => $add_data['mobile'], 'cf_id' => $add_data['cf_id']];
|
||||
$t_id && $where['t_id'] = $t_id;
|
||||
$re_cus = $this->mdCustomers->get($where);
|
||||
if ($re_cus) {
|
||||
//throw new Hd_exception('您已经预约报名了', API_CODE_FAIL);
|
||||
throw new Hd_exception('预约报名成功!', API_CODE_SUCCESS);
|
||||
throw new Hd_exception('预约报名成功了!', API_CODE_SUCCESS);
|
||||
}
|
||||
$id = $this->mdCustomers->add($add_data);
|
||||
if (!$id) {
|
||||
|
||||
Reference in New Issue
Block a user