[bug]无法获取上线推广员问题

master
chenzhi 5 years ago
parent b835f96024
commit b52113622d

@ -1064,7 +1064,7 @@ function get_promote_parent($promote_id,$field='account'){
function get_promote_parent_acc($promote_id){ function get_promote_parent_acc($promote_id){
$Promote = M('promote','tab_'); $Promote = M('promote','tab_');
$data = $Promote->field('account,parent_id')->find($promote_id); $data = $Promote->field('account,parent_id,chain')->find($promote_id);
if(empty($data)){ if(empty($data)){
return $data["account"]="官方渠道";exit; return $data["account"]="官方渠道";exit;

Loading…
Cancel
Save