dataLists(new UserFinanceLists()); } /** * @notes 获取代理资金明细列表 * @return \think\response\Json * @author bd * @date 2024/01/31 14:07 */ public function agentLists() { return $this->dataLists(new AgentUserFinanceLists()); } /** * @notes 删除资金明细 * @return \think\response\Json * @author BD * @date 2024/03/07 13:10 */ public function delete() { $params = (new UserFinanceValidate())->post()->goCheck('delete'); UserFinanceLogic::delete($params); return $this->success('删除成功', [], 1, 1); } /** * @notes 解冻 * @return \think\response\Json * @author bd * @date 2024/01/31 14:07 */ public function unfrozen() { $params = (new UserFinanceValidate())->post()->goCheck('unfrozen'); $result = UserFinanceLogic::unfrozen($params); if (true === $result) { return $this->success('解冻成功', [], 1, 1); } return $this->fail(UserFinanceLogic::getError()); } }