lizhen_gitee 2 months ago
parent
commit
54d267c9cb
1 changed files with 1 additions and 5 deletions
  1. 1 5
      application/api/controller/Intro.php

+ 1 - 5
application/api/controller/Intro.php

@@ -75,13 +75,9 @@ class Intro extends Api
         $tuandui_ids[] = $this->auth->id;
         $result['fenxiaodingdan'] = Db::name('pay_order')->where('user_id','IN',$tuandui_ids)->where('table_name','money_recharge')->where('order_status',1)->whereTime('createtime','month')->count();
 
-
-
-
         //团队总业绩
         $result['tuanduizongyeji'] = Db::name('pay_order')->where('user_id','IN',$tuandui_ids)->where('table_name','money_recharge')->where('order_status',1)->whereTime('createtime','month')->sum('order_amount');
 
-
         //我所在等级的比例
         $bili = Db::name('intro_level_config')->where('id',$this->wallet['intro_level'])->value('intro_bili');
         $bili = $bili ?: 0;
@@ -298,7 +294,7 @@ class Intro extends Api
                 $list[$key] = $val;
             }
 
-            $this->success(1,$list);
+            $this->success(1,$list2);
         }