dataLists(new StoreExtractLists()); } /** * @notes 添加门店提现 * @return \think\response\Json * @author admin * @date 2024/05/31 17:09 */ public function add() { $params = (new StoreExtractValidate())->post()->goCheck('add'); $result = StoreExtractLogic::add($params); if (true === $result) { return $this->success('添加成功', [], 1, 1); } return $this->fail(StoreExtractLogic::getError()); } /** * @notes 编辑门店提现 * @return \think\response\Json * @author admin * @date 2024/05/31 17:09 */ public function edit() { $params = (new StoreExtractValidate())->post()->goCheck('edit'); $result = StoreExtractLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 1); } return $this->fail(StoreExtractLogic::getError()); } /** * @notes 删除门店提现 * @return \think\response\Json * @author admin * @date 2024/05/31 17:09 */ public function delete() { $params = (new StoreExtractValidate())->post()->goCheck('delete'); StoreExtractLogic::delete($params); return $this->success('删除成功', [], 1, 1); } /** * @notes 获取门店提现详情 * @return \think\response\Json * @author admin * @date 2024/05/31 17:09 */ public function detail() { $params = (new StoreExtractValidate())->goCheck('detail'); $result = StoreExtractLogic::detail($params); return $this->data($result); } }