| 1234567891011121314151617181920212223242526272829303132333435363738 | 
							- <?php
 
- namespace App\Service;
 
- use App\Model\Customer;
 
- use App\Model\Setting;
 
- class CustomerPondService extends Service
 
- {
 
-     protected $rule;
 
-     public function updateCustomerPond(){
 
-         $customerModel = new Customer();
 
-         $customerList = $customerModel->where('pond_state',0)->where('del_time',0)->first();
 
-         $this->rule = Setting::where('setting_name','customer_pond_limit_time')->value('setting_value');
 
-         foreach ($customerList as $v){
 
-             if($this->customerPondRule($v)){
 
-             }
 
-         }
 
-     }
 
-     //
 
-     public function customerPondRule($customer){
 
-         if($this->finishRule($customer)){
 
-             return true;
 
-         }
 
-         return false;
 
- //        if()
 
-     }
 
-     //关于客户的进入公海池流程(后续再出)
 
-     public function finishRule(){
 
-         $time = $this->rule;
 
-         return true;
 
-     }
 
- }
 
 
  |