wupengfei 2 years ago
parent
commit
c3ee542786
2 changed files with 4 additions and 4 deletions
  1. 3 2
      application/api/controller/Login.php
  2. 1 2
      public/h5/index.html

+ 3 - 2
application/api/controller/Login.php

@@ -92,14 +92,15 @@ class Login extends Base
             'second_password'=>md5($second_password),
             'wallet_address'=>'',
             'accountName'=>$accountName,
-            'money'=> '0.00'
+            'money'=> '0.00',
+            'name'=> '象链'.substr('18669648837',7)
         ];
         $member_id = Db::name('store_member')->insertGetId($data);
         if ($member_id){
             $code = get32Str(8);
             $invite_img = setintivecode($code);
             $invite_address = getintiveaddress($code);
-            Db::name('store_member')->where('id',$member_id)->update(['name'=>'收藏家'.$member_id,'invite_img'=>$invite_img,'invite_address'=>$invite_address,'invite_code'=>$code]);
+            Db::name('store_member')->where('id',$member_id)->update(['invite_img'=>$invite_img,'invite_address'=>$invite_address,'invite_code'=>$code]);
             //邀请好友送积分
             if ($invite_code>0){
                 $invite_friends_integral = getConfigValue('invite_friends_integral');

+ 1 - 2
public/h5/index.html

@@ -2,5 +2,4 @@
 				.supports('top: constant(a)'))
 			document.write(
 				'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
-				(coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src=/h5/hybrid/html/js/three.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/OrbitControls.js charset=utf-8></script><script src=/h5/hybrid/html/js/GLTFLoader.js charset=utf-8></script><script src=/h5/hybrid/html/js/WebGL.js charset=utf-8></script><script src=/h5/hybrid/html/js/stats.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/gt4.js charset=utf-8></script><script src=/h5/hybrid/html/js/qrcode.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/html2canvas.min.js></script><script src=https://res2.wx.qq.com/open/js/jweixin-1.6.0.js></script><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script>window.wx1 = wx</script><link rel=stylesheet href=/h5/static/index.a5c69d49.css><script src=https://unpkg.com/vconsole/dist/vconsole.min.js></script><script>// VConsole will be exported to `window.VConsole` by default.
-			var vConsole = new window.VConsole();</script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5/static/js/chunk-vendors.358216f8.js></script><script src=/h5/static/js/index.04d9e6fc.js></script></body></html>
+				(coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src=/h5/hybrid/html/js/three.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/OrbitControls.js charset=utf-8></script><script src=/h5/hybrid/html/js/GLTFLoader.js charset=utf-8></script><script src=/h5/hybrid/html/js/WebGL.js charset=utf-8></script><script src=/h5/hybrid/html/js/stats.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/gt4.js charset=utf-8></script><script src=/h5/hybrid/html/js/qrcode.min.js charset=utf-8></script><script src=/h5/hybrid/html/js/html2canvas.min.js></script><script src=https://res2.wx.qq.com/open/js/jweixin-1.6.0.js></script><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script>window.wx1 = wx</script><link rel=stylesheet href=/h5/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5/static/js/chunk-vendors.358216f8.js></script><script src=/h5/static/js/index.04d9e6fc.js></script></body></html>