|
|
@ -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;
|
|
|
|