修改报名brand_id
This commit is contained in:
@@ -114,6 +114,11 @@ class Auto_user_coupon_model extends HD_Model
|
||||
$data['province_id'] = $areaRow['province_id'] ?: 0;
|
||||
$data['city_id'] = $areaRow['city_id'] ?: 0;
|
||||
$data['county_id'] = $areaRow['county_id'] ?: 0;
|
||||
if ($data['province_id'] == 460000) { //海南省
|
||||
$data['belong_id'] = 39;
|
||||
} else if ($data['province_id'] == 350000) { //福建
|
||||
$data['belong_id'] = 10;
|
||||
}
|
||||
$this->receiver_clues_model->add($data);
|
||||
} else {
|
||||
$this->receiver_clues_model->update(['en_time' => date('Y-m-d H:i:s')], ['id' => $cluesRow['id']]);
|
||||
|
||||
Reference in New Issue
Block a user