1.分销推广页我的推广店铺列表
This commit is contained in:
parent
a0b12196f2
commit
1b8942b025
@ -241,7 +241,7 @@ class User extends Api
|
||||
// and b.audit_status = 2 group by a.first_leader";
|
||||
$count = Db::name("shop_apply")
|
||||
->alias("a")
|
||||
->join("user","a.user_id = b.id","left")
|
||||
->join("user b","a.user_id = b.id","left")
|
||||
->where("b.first_leader",$user_id)
|
||||
->where("a.disable",0)
|
||||
->where("a.del",0)
|
||||
@ -262,7 +262,7 @@ class User extends Api
|
||||
// $count = $count[0]['cont'];
|
||||
$count = Db::name("local_store")
|
||||
->alias("a")
|
||||
->join("user","a.user_id = b.id","left")
|
||||
->join("user b","a.user_id = b.id","left")
|
||||
->where("b.first_leader",$user_id)
|
||||
->where("a.disable",0)
|
||||
->where("a.del",0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user