1.分销推广页我的推广店铺列表

This commit is contained in:
xucong 2024-08-19 17:21:35 +08:00
parent 08d199e8b8
commit b8c113a414

@ -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")
->where("user","a.user_id = b.id","left")
->join("user","a.user_id = b.id","left")
->where("a.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")
->where("user","a.user_id = b.id","left")
->join("user","a.user_id = b.id","left")
->where("a.first_leader",$user_id)
->where("a.disable",0)
->where("a.del",0)