yingzi 2 years ago
parent
commit
bd93911816
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Controller/Common/ApiTestCom.Class.php
  2. 1 1
      Util/Common/PartnerTools.Class.php

+ 2 - 2
Controller/Common/ApiTestCom.Class.php

@@ -10,7 +10,7 @@ namespace JinDouYun\Controller\Common;
 
 
 use JinDouYun\Controller\BaseController;
-use Util\Common\PartnerTool;
+use Util\Common\PartnerTools;
 
 
 
@@ -26,7 +26,7 @@ class ApiTestCom  extends BaseController
 
     public function tool()
     {
-        $to = new PartnerTool($this->onlineEnterpriseId);
+        $to = new PartnerTools($this->onlineEnterpriseId);
         $to->setPushCustomer(1,29);
     }
 }

+ 1 - 1
Util/Common/PartnerTool.class.php → Util/Common/PartnerTools.Class.php

@@ -5,7 +5,7 @@ namespace Util\Common;
 use JinDouYun\Dao\Customer\DCustomer;
 use JinDouYun\Cache\CustomerCache;
 
-class PartnerTool{
+class PartnerTools{
     private $dbCustomer;
     private $enterpriseId;
     private $cutTable = 1;//客户按照企业id分表