|
@@ -81,11 +81,14 @@ class Login extends Base
|
|
|
}else{
|
|
|
$invite_code = 0;
|
|
|
}
|
|
|
+ //钱包地址
|
|
|
+ $wallet_address = '0x6B76162F8c7A6B3441078245fB554c8980Dc20bd';
|
|
|
$data = [
|
|
|
'phone'=>$phone,
|
|
|
'pid'=>$invite_code,
|
|
|
'password'=>md5($password),
|
|
|
- 'second_password'=>md5($second_password)
|
|
|
+ 'second_password'=>md5($second_password),
|
|
|
+ 'wallet_address'=>$wallet_address
|
|
|
];
|
|
|
$member_id = Db::name('store_member')->insertGetId($data);
|
|
|
if ($member_id){
|