wesmiler 1 年之前
父節點
當前提交
ab689de768
共有 3 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/Api/MemberService.php
  2. 0 0
      public/app/xlapp_v1.3.24.apk
  3. 二進制
      public/uploads/images/music.jpg

+ 1 - 1
app/Services/Api/MemberService.php

@@ -248,7 +248,7 @@ class MemberService extends BaseService
                     if ($type == 1) { // 直推人数
                         $query->where('parent_id', $userId);
                     }  else if($type == 2){  // 团队人数
-                        $query->whereRaw('FIND_IN_SET(?,parents)', $userId);
+                        $query->whereRaw("FIND_IN_SET({$userId},parents)");
                     }  else if($type == 3){ // 滑落人数
                         $query->where('parent_id', $userId)->where('point_id','!=', $userId);
                     }

+ 0 - 0
public/app/xlapp_v1.3.24.apk


二進制
public/uploads/images/music.jpg