master
chenxiaojun 5 years ago
parent f9b9694a4a
commit ce01823c6b

@ -230,7 +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'); Log::write('cxj_login:' . date('Y-m-d H:i:s') . ' ---- userData' . json_encode($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;

Loading…
Cancel
Save