quanwei
2 days ago 04102f7237efefa744090ed7c25f7b5d0807b679
admin/app/api/model/plus/operations/Operations.php
@@ -37,4 +37,14 @@
        }
        return $data;
    }
    /**
     * 资金冻结
     */
    public function freezeMoney($money)
    {
        return $this->save([
            'money' => $this['money'] - $money,
            'freeze_money' => $this['freeze_money'] + $money,
        ]);
    }
}