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