dataLists(new MasterWorkerRetentionMoneyLogLists()); } public function totalAmount() { $params = (new MasterWorkerRetentionMoneyLogValidate())->get()->goCheck('totalAmount'); $result = RetentionMoneyLogic::totalAmount($params); if (false === $result) { return $this->fail(RetentionMoneyLogic::getError()); } return $this->success('操作成功',$result, 1, 0); } }