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

This commit is contained in:
xucong 2024-08-19 17:14:36 +08:00
parent 0281a15cf6
commit 938cdbf395

@ -240,7 +240,7 @@ class User extends Api
a.first_leader = '.$user_id.' and a.disable = 0 and a.del = 0 and b.del=0
and b.audit_status = 2 group by a.first_leader";
$count = Db::query($sql);
$count = $count['cont'];
$count = $count[0]['cont'];
}else{
$sql = "SELECT * FROM ls_user a,ls_local_store b WHERE a.id = b.user_id and
a.first_leader = '.$user_id.' and a.disable = 0 and a.del = 0 and b.is_delete=0
@ -250,7 +250,7 @@ class User extends Api
a.first_leader = '.$user_id.' and a.disable = 0 and a.del = 0 and b.is_delete=0
and b.store_state = 1 group by a.first_leader";
$count = Db::query($sql);
$count = $count['cont'];
$count = $count[0]['cont'];
}
$data = [
'list' => $lists,