dataLists(new MarketingBidResultLists()); } /** * @notes 添加市场经营--投标管理--投标结果 * @return \think\response\Json * @author likeadmin * @date 2024/04/12 13:59 */ public function add() { $params = (new MarketingBidResultValidate())->post()->goCheck('add'); $result = MarketingBidResultLogic::add($params); if (true === $result) { return $this->success('添加成功', [], 1, 1); } return $this->fail(MarketingBidResultLogic::getError()); } /** * @notes 编辑市场经营--投标管理--投标结果 * @return \think\response\Json * @author likeadmin * @date 2024/04/12 13:59 */ public function edit() { $params = (new MarketingBidResultValidate())->post()->goCheck('edit'); $result = MarketingBidResultLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 1); } return $this->fail(MarketingBidResultLogic::getError()); } /** * @notes 删除市场经营--投标管理--投标结果 * @return \think\response\Json * @author likeadmin * @date 2024/04/12 13:59 */ public function delete() { $params = (new MarketingBidResultValidate())->post()->goCheck('delete'); $result = MarketingBidResultLogic::delete($params); if (true === $result) { return $this->success('删除成功', [], 1, 1); } return $this->fail(MarketingBidResultLogic::getError()); } /** * @notes 获取市场经营--投标管理--投标结果详情 * @return \think\response\Json * @author likeadmin * @date 2024/04/12 13:59 */ public function detail() { $params = (new MarketingBidResultValidate())->goCheck('detail'); $result = MarketingBidResultLogic::detail($params); return $this->data($result); } }