quguofeng 2 years ago
parent
commit
740eeb07fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common/repositories/user/UserRepository.php

+ 1 - 1
app/common/repositories/user/UserRepository.php

@@ -259,7 +259,7 @@ class UserRepository extends BaseRepository
                 $list[$k]['total_brokerage_price'] = (float)bcadd($item['brokerage_price'], $list[$k]['total_extract_num'], 2);
                 //获取推广员关注店铺数量
                 $relation_num = 0;
-                $user_info = $this->selectWhere(['spread_uid' => $item['uid'],'uid']);
+                $user_info = $this->selectWhere(['spread_uid' =>strval($item['uid']),'uid']);
                 var_dump($user_info);exit();
             }
         }