rabin 3 years ago
parent
commit
3b93d43f27
2 changed files with 3 additions and 2 deletions
  1. 1 1
      service/agent/database/member_parent.php
  2. 2 1
      service/agent/src/My.php

+ 1 - 1
service/agent/database/member_parent.php

@@ -49,7 +49,7 @@ return array
         'parent_mobile'      => array
         (
             'type'      => 'bigint-11',
-            'name'      => '输入上级手机号-请谨慎操作,此操作会更改当前代理商的上级,更改后,之前的关系链将断掉',
+            'name'      => '输入上级手机号-<font style="color:red">请谨慎操作,归属的上级不能与当前代理商同一团队,否则会影响归属后的业绩数据</font>',
             'default'   => '',
             'desc'      => '邀请人',
             'match'     => 'is_string',

+ 2 - 1
service/agent/src/My.php

@@ -743,7 +743,8 @@ class My extends Core
         $id = Dever::load('bill/lib/tixian')->up($this->uid, $ycash, $cash,$sign);
 
         if ($id) {
-            $cash_id = Dever::load('bill/lib/cash')->up($this->uid, 11, $ycash, $this->user['role'], $id, '提现到'.substr($card, -4).'银行卡', 1);
+            //$cash_id = Dever::load('bill/lib/cash')->up($this->uid, 11, $ycash, $this->user['role'], $id, '提现到'.substr($card, -4).'银行卡', 1);
+            $cash_id = Dever::load('bill/lib/cash')->up($this->uid, 11, $ycash, $this->user['role'], $id, '提现', 1);
 
             Dever::db('bill/tixian')->update(array('where_id' => $id, 'cash_id' => $cash_id));