|
|
|
@ -3024,7 +3024,7 @@ function getMarketAuthPromoteId()
|
|
|
|
|
//搜索所有市场部管理员id
|
|
|
|
|
$mid = M("AuthGroup")->where("title like '%市场%'")->getField("id",true);
|
|
|
|
|
$mid = implode(",",$mid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$admin_id = M("AuthGroupAccess")->where("group_id in ({$mid})")->getField("uid",true);
|
|
|
|
|
$admin_id = implode(",",$admin_id);
|
|
|
|
|
|
|
|
|
@ -3037,7 +3037,6 @@ function getMarketAuthPromoteId()
|
|
|
|
|
}else{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
// dd($map['admin_id']);
|
|
|
|
|
$dbres = M("Promote","tab_")->where($map)->getField("id",true);
|
|
|
|
|
if(empty($dbres)){
|
|
|
|
|
return -1;
|
|
|
|
|