Jason 1 год назад
Родитель
Сommit
16edfa6191

+ 1 - 1
application/admin/controller/user/User.php

@@ -176,7 +176,7 @@ class User extends Backend
         }
         if (false === $this->request->isPost()) {
             $bank = json_decode($row->bank_info, true);
-            $row->real_name = $bank['real_name']??'';
+            $row->account_name = $bank['account_name']??'';
             $row->bank_name = $bank['bank_name']??'';
             $row->bank_card = $bank['bank_card']??'';
             $this->view->assign('row', $row);

+ 1 - 1
application/admin/view/user/user/collection.html

@@ -13,7 +13,7 @@
     <div class="form-group">
         <label for="c-real_name" class="control-label col-xs-12 col-sm-2">{:__('Real name')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-real_name" data-rule="required" class="form-control" name="row[real_name]" type="text" value="{$row.real_name|htmlentities}">
+            <input id="c-real_name" data-rule="required" class="form-control" name="row[account_name]" type="text" value="{$row.account_name|htmlentities}">
         </div>
     </div>
     <div class="form-group">

+ 3 - 3
application/api/controller/User.php

@@ -323,10 +323,10 @@ class User extends Api
         }
 
         if($withdraw_info['bank']){
-            $resdata['bank']['real_name'] = $resdata['bank']['bank_name'] = $resdata['bank']['bank_card'] = '';
+            $resdata['bank']['account_name'] = $resdata['bank']['bank_name'] = $resdata['bank']['bank_card'] = '';
             $bank_info = json_decode($user['bank_info'], true);
             if(!empty($bank_info)){
-                $resdata['bank']['real_name'] = $bank_info['real_name'];
+                $resdata['bank']['account_name'] = $bank_info['account_name'];
                 $resdata['bank']['bank_name'] = $bank_info['bank_name'];
                 $resdata['bank']['bank_card'] = $bank_info['bank_card'];
             }
@@ -354,7 +354,7 @@ class User extends Api
         }
 
         if($withdraw_info['bank']){
-            $bank_info['real_name'] = $this->request->post("real_name", '', null);
+            $bank_info['account_name'] = $this->request->post("account_name", '', null);
             $bank_info['bank_name'] = $this->request->post("bank_name", '', null);
             $bank_info['bank_card'] = $this->request->post("bank_card", '', null);
 

+ 8 - 8
application/extra/site.php

@@ -1,11 +1,11 @@
 <?php
 
 return array (
-  'name' => '投标系统',
-  'logo' => 'http://dapp-static.oss-cn-shenzhen.aliyuncs.com/tou-biao/202403/logo.png',
+  'name' => 'Etsy',
+  'logo' => 'http://dapp-static.oss-cn-shenzhen.aliyuncs.com/tou-biao/202404/5329329%20%282%29.png',
   'maintain_switch' => '1',
   'day_tasks_num' => '60',
-  'task_income' => '0.006',
+  'task_income' => '0.005',
   'categorytype' => 
   array (
     'default' => 'Default',
@@ -37,14 +37,14 @@ return array (
   'recharge_usdt_address' => 'ox5454534cccccccccc',
   'recharge_bank_switch' => '1',
   'recharge_bank_name' => '花旗银行',
-  'withdraw_usdt_switch' => '1',
+  'withdraw_usdt_switch' => '0',
   'withdraw_bank_switch' => '1',
   'withdrawal_time' => '15:04:41',
   'withdrawal_fee' => '0.2',
   'recharge_bank_card' => '银行卡号号码',
   'recharge_real_name' => '开户人姓名',
-  'balance_min' => '15',
-  'bonus_first' => '0.03',
-  'bonus_secend' => '0.02',
-  'bonus_three' => '0.01',
+  'balance_mini' => '15',
+  'bonus_share_1' => '0.05',
+  'bonus_share_2' => '0.04',
+  'bonus_share_3' => '0.03',
 );