Merge branch 'feature/group_type' into dev

master
liuweiwen 5 years ago
commit f480c20fb7

@ -107,7 +107,7 @@ class PublicController extends \Think\Controller
} }
$uid = $promote['id']; $uid = $promote['id'];
} else { } else {
$partner = M('partner', 'tab_')->where(['link_man' => $mobile,])->find(); $partner = M('partner', 'tab_')->where(['link_phone' => $mobile,])->find();
if ($partner) { if ($partner) {
/* 记录登录SESSION和COOKIES */ /* 记录登录SESSION和COOKIES */
$cp_auth = array( $cp_auth = array(
@ -131,7 +131,7 @@ class PublicController extends \Think\Controller
session($session_name.'_sign', data_auth_sign($cp_auth)); session($session_name.'_sign', data_auth_sign($cp_auth));
} }
$uid = $promote['id']; $uid = $partner['id'];
} }
} }

Binary file not shown.
Loading…
Cancel
Save