|
|
@ -230,6 +230,7 @@ class UserController extends BaseController
|
|
|
|
$whereUser['mobile_phone'] = $account;
|
|
|
|
$whereUser['mobile_phone'] = $account;
|
|
|
|
$userData = M('User', 'tab_')->where($whereUser)->find();
|
|
|
|
$userData = M('User', 'tab_')->where($whereUser)->find();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Log::write('cxj_login:' . date('Y-m-d H:i:s') . ' ---- userData' . json($userData) .'INFO');
|
|
|
|
if (!empty($userData)) {
|
|
|
|
if (!empty($userData)) {
|
|
|
|
if (empty($userData['promote_id'])) {
|
|
|
|
if (empty($userData['promote_id'])) {
|
|
|
|
$saveData['promote_id'] = $promoteId;
|
|
|
|
$saveData['promote_id'] = $promoteId;
|
|
|
|