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

This commit is contained in:
xucong 2024-08-19 17:25:32 +08:00
parent 1b8942b025
commit 1875e0bae5

@ -243,10 +243,10 @@ class User extends Api
->alias("a")
->join("user b","a.user_id = b.id","left")
->where("b.first_leader",$user_id)
->where("a.disable",0)
->where("a.del",0)
->where("b.disable",0)
->where("b.del",0)
->where("b.audit_status",2)
->where("a.del",0)
->where("a.audit_status",2)
->count();
// $count = Db::query($sql);
// $count = $count[0]['cont'];
@ -264,10 +264,10 @@ class User extends Api
->alias("a")
->join("user b","a.user_id = b.id","left")
->where("b.first_leader",$user_id)
->where("a.disable",0)
->where("a.del",0)
->where("b.is_delete",0)
->where("b.store_state",1)
->where("b.disable",0)
->where("b.del",0)
->where("a.is_delete",0)
->where("a.store_state",1)
->count();
}
$data = [