|
|
@ -118,6 +118,8 @@ class UcenterMemberModel extends Model{
|
|
|
|
if($data = $this->create($data)){
|
|
|
|
if($data = $this->create($data)){
|
|
|
|
$data['username'] = $username;
|
|
|
|
$data['username'] = $username;
|
|
|
|
$data['email'] = $email;
|
|
|
|
$data['email'] = $email;
|
|
|
|
|
|
|
|
$data['password'] = think_ucenter_md5($password, UC_AUTH_KEY);
|
|
|
|
|
|
|
|
$data['second_pwd'] = think_ucenter_md5($second_pwd, UC_AUTH_KEY);
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
$status = M('UcenterMember', 'sys_')->add($data);
|
|
|
|
$status = M('UcenterMember', 'sys_')->add($data);
|
|
|
|
} catch (\Throwable $th) {
|
|
|
|
} catch (\Throwable $th) {
|
|
|
|