Commit 7f249729 by 冷斌

`试卷`

parent 061bbc86
...@@ -415,6 +415,16 @@ class HomeAction extends UserAction ...@@ -415,6 +415,16 @@ class HomeAction extends UserAction
unset($val); unset($val);
return $data; return $data;
} }
protected function getBalancee()
{
$balancee = M('zy_split_balance')->where([
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
}
/** /**
* 我的分享--列表处理 * 我的分享--列表处理
* @return void * @return void
...@@ -439,11 +449,7 @@ class HomeAction extends UserAction ...@@ -439,11 +449,7 @@ class HomeAction extends UserAction
// $data['data'] = $this->fetch('share_list'); // $data['data'] = $this->fetch('share_list');
$balancee = M('zy_split_balance')->where([ $this->getBalancee();
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
$this->display(); $this->display();
exit; 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