Commit f4801e74 by 冷斌

`试卷`

parent 1827ff70
......@@ -74,7 +74,6 @@ class UserAction extends CommonAction
public function index()
{
echo 1; die;
$uid = $this->mid;
$limit = 3;
//拼接两个表名
......@@ -153,13 +152,6 @@ class UserAction extends CommonAction
$this->assign('followcount', $followcount);
$this->assign('uid', $uid);
$this->assign('vip', $vip);
$balancee = M('zy_split_balance')->where([
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
// 测试用
if($_GET['aaa']){
$this->display('index1');
......@@ -237,6 +229,12 @@ class UserAction extends CommonAction
$account['balance'] = $account['balance'] ? floatval($account['balance']) : 0.00;
$this->assign('userLearnc', $account);
$balancee = M('zy_split_balance')->where([
'uid' => $this->mid
])->getField('balance');
$this->assign('balance', $balancee);
//选择模版
$tab = intval($_GET['tab']);
$tpls = array('index', 'income', 'pay', 'take_list', 'take', 'recharge', 'integral_list');
......
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