diff --git a/common/models/agent/Auto_user_coupon_model.php b/common/models/agent/Auto_user_coupon_model.php index 2727dde7..aefcf568 100644 --- a/common/models/agent/Auto_user_coupon_model.php +++ b/common/models/agent/Auto_user_coupon_model.php @@ -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']]);