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, ]); } }