From 8212b4ecaff0919bd2c8ea65d23d0863a1c2e0ac Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Fri, 1 Nov 2019 17:36:16 +0800 Subject: [PATCH] =?UTF-8?q?4=E7=BA=A7=E6=8E=A8=E5=B9=BF=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/TestResourceController.class.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Application/Admin/Controller/TestResourceController.class.php b/Application/Admin/Controller/TestResourceController.class.php index 538bfd9e1..0d8416134 100644 --- a/Application/Admin/Controller/TestResourceController.class.php +++ b/Application/Admin/Controller/TestResourceController.class.php @@ -317,20 +317,6 @@ class TestResourceController extends ThinkController ->select(); $this->AjaxReturn($data); - } - //获取当前和当前子渠道的渠道id - public function get_all_promote(){ - $pro_id=get_prmoote_chlid_account(get_pid()); -// var_dump($pro_id);die(); - foreach ($pro_id as $key => $value) { - $pro_id1[]=$value['id']; - } - if(!empty($pro_id1)){ - $pro_id2=array_merge($pro_id1,array(get_pid())); - }else{ - $pro_id2=array(get_pid()); - } - return $pro_id2; } /** * 系统非常规MD5加密方法 @@ -354,7 +340,6 @@ class TestResourceController extends ThinkController $i_account=I('user_account')[$i]; if (!empty($i_account)) { $user=M('user', 'tab_')->field('promote_id,promote_account,password,phone')->where(['account'=>$i_account])->find(); -// $promote = $this->get_all_promote(); if (!$user) { M('test_resource', 'tab_')->rollback();//回滚 $this->error($i_account.'账号不存在');