lizhen_gitee 2 달 전
부모
커밋
54d267c9cb
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  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);
         }