|
|
@ -414,6 +414,8 @@ class UserController extends BaseController
|
|
|
|
$pid = $this->suser->register($phone, $password, $phone, $register_way, $register_type, '', '', $sex, $nickname, $head_img);
|
|
|
|
$pid = $this->suser->register($phone, $password, $phone, $register_way, $register_type, '', '', $sex, $nickname, $head_img);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($pid > 0) {
|
|
|
|
if ($pid > 0) {
|
|
|
|
|
|
|
|
$taskClient = new TaskClient();
|
|
|
|
|
|
|
|
$taskClient->registerEvent($pid, 'WAP');
|
|
|
|
if (empty($safeinfo['promote_id'])) {
|
|
|
|
if (empty($safeinfo['promote_id'])) {
|
|
|
|
$data = array(
|
|
|
|
$data = array(
|
|
|
|
'status' => 1,
|
|
|
|
'status' => 1,
|
|
|
@ -545,6 +547,10 @@ class UserController extends BaseController
|
|
|
|
$pid = $this->suser->register($account, $password, '', $register_way, $register_type, '', '', $sex, $nickname, $head_img);
|
|
|
|
$pid = $this->suser->register($account, $password, '', $register_way, $register_type, '', '', $sex, $nickname, $head_img);
|
|
|
|
|
|
|
|
|
|
|
|
if ($pid > 0) {
|
|
|
|
if ($pid > 0) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$taskClient = new TaskClient();
|
|
|
|
|
|
|
|
$taskClient->registerEvent($pid, 'WAP');
|
|
|
|
|
|
|
|
|
|
|
|
$promoteId = I('post.promote_id');
|
|
|
|
$promoteId = I('post.promote_id');
|
|
|
|
$promoteId = intval($promoteId);
|
|
|
|
$promoteId = intval($promoteId);
|
|
|
|
|
|
|
|
|
|
|
|