songxingwei 3 vuotta sitten
vanhempi
commit
701589b060
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      application/api/controller/Login.php

+ 4 - 1
application/api/controller/Login.php

@@ -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){