1
This commit is contained in:
parent
87a6480686
commit
c32c4a2793
@ -109,9 +109,9 @@ class UserController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$headId = 0;
|
$headId = !empty($headList) ? $headList[rand() % count($headList)] : 0;
|
||||||
$headFrame = 0;
|
$headFrame = !empty($headFrameList) ? $headFrameList[rand() % count($headFrameList)] : 0;
|
||||||
$heroId = 0;
|
$heroId = !empty($heroList) ? $heroList[rand() % count($heroList)] : 0;
|
||||||
SqlHelper::upsert
|
SqlHelper::upsert
|
||||||
($this->_getSelfMysql(),
|
($this->_getSelfMysql(),
|
||||||
't_user',
|
't_user',
|
||||||
@ -141,6 +141,7 @@ class UserController extends BaseAuthedController {
|
|||||||
'modifytime' => $this->_getNowTime(),
|
'modifytime' => $this->_getNowTime(),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->_addItems($addItems);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function active()
|
public function active()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user