Commit dc52d812 by 冷斌

个人中心 - vip

parent 1761479f
......@@ -141,7 +141,7 @@ class UserAction extends CommonAction
// vip
$vip = '';
$userVip = M('zy_learncoin')->where(['uid'=>$uid])->getField('vip_type');
if (!empty($userVip['vip_type'])) {
if (!empty($userVip)) {
$vip = M('user_vip')->where(['id'=>$userVip])->getField('title');
}
var_dump($vip, $userVip, $uid);
......
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