Commit 7f249729 by 冷斌

`试卷`

parent 061bbc86
......@@ -415,6 +415,16 @@ class HomeAction extends UserAction
unset($val);
return $data;
}
protected function getBalancee()
{
$balancee = M('zy_split_balance')->where([
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
}
/**
* 我的分享--列表处理
* @return void
......@@ -439,11 +449,7 @@ class HomeAction extends UserAction
// $data['data'] = $this->fetch('share_list');
$balancee = M('zy_split_balance')->where([
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
$this->getBalancee();
$this->display();
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment