1.本地生活上级列表优化
This commit is contained in:
parent
483f1b906c
commit
c5c9640439
@ -100,6 +100,13 @@ class UserLogic extends Logic
|
||||
}
|
||||
// 获取集采信息
|
||||
$procurement = Mprocurement::where(['user_id' => $user_id, 'u_examine_state' => 1, 'u_state' => 1])->find();
|
||||
// 查询是否建立本地商家
|
||||
$local = Db::name("local_store")->where("user_id",$user_id)->where("is_delete",0)->select()->toArray();
|
||||
if(empty($local)){
|
||||
$user['local'] = 0;
|
||||
}else{
|
||||
$user['local'] = 1;
|
||||
}
|
||||
|
||||
// 获取返补已满但是未读状态的数量
|
||||
$user['unread_billions'] = BillionsLogic::getUnreadCount($user_id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user