dataLists(new BidBiddingDecisionLists()); } /** * @notes 添加投标决策 * @return \think\response\Json * @author likeadmin * @date 2023/11/27 18:14 */ public function add() { $params = (new BidBiddingDecisionValidate())->post()->goCheck('add'); $result = BidBiddingDecisionLogic::add($params); if (true === $result) { return $this->success('添加成功', [], 1, 1); } return $this->fail(BidBiddingDecisionLogic::getError()); } /** * @notes 获取投标决策详情 * @return \think\response\Json * @author likeadmin * @date 2023/11/27 18:14 */ public function detail() { $params = (new BidBiddingDecisionValidate())->goCheck('detail'); $result = BidBiddingDecisionLogic::detail($params); return $this->data($result); } }