goods_711
This commit is contained in:
@@ -219,13 +219,13 @@ class Biz extends Wxapp
|
||||
$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) {
|
||||
throw new Hd_exception('预约报名失败!', API_CODE_FAIL);
|
||||
throw new Hd_exception('预约失败!', API_CODE_FAIL);
|
||||
}
|
||||
throw new Hd_exception('预约报名成功!', API_CODE_SUCCESS);
|
||||
throw new Hd_exception('预约成功!', API_CODE_SUCCESS);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user