修改报名brand_id

This commit is contained in:
lcc
2025-10-17 21:24:12 +08:00
parent c57d6f13ee
commit 8cf51caeec
@@ -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']]);