songxingwei 3 years ago
parent
commit
f6be1d0d8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/User.php

+ 1 - 1
application/common/model/User.php

@@ -591,7 +591,7 @@ class User Extends Model
     public static function RepertoryIntegralFree(){
         //获取释放比例
         $repertory_integral_ratio = Config::get_values('repertory_integral_ratio');
-        User::where('equity_integral','>',100)->where('type',2)->field('id,repertory_integral,usable_integral')->chunk(20,function ($list) use ($repertory_integral_ratio){
+        User::where('repertory_integral','>',100)->where('type',2)->field('id,repertory_integral,usable_integral')->chunk(20,function ($list) use ($repertory_integral_ratio){
             $repertory_integral_ratio = $repertory_integral_ratio/10000;
             foreach ($list as &$v){
                 $equity = round($v['repertory_integral']*$repertory_integral_ratio,4);    //保留4位小数四舍五入