|
|
|
@ -231,7 +231,7 @@ class UserController extends BaseController
|
|
|
|
|
$userData = M('User', 'tab_')->where($whereUser)->find();
|
|
|
|
|
|
|
|
|
|
if (!empty($userData)) {
|
|
|
|
|
if (empty($userData['promote_id']) && empty($userData['promote_account'])) {
|
|
|
|
|
if (empty($userData['promote_id'])) {
|
|
|
|
|
$saveData['promote_id'] = $promoteId;
|
|
|
|
|
$saveData['promote_account'] = $promoteData['account'];
|
|
|
|
|
|
|
|
|
|