dataLists(new TeamLists()); } /** * @notes 拼团商品详细 * @author 张无忌 * @date 2021/8/3 15:20 */ public function detail() { $params = (new TeamValidate())->goCheck('id'); $result = TeamLogic::detail(intval($params['id']), $this->userId); if (is_array($result)) { return $this->success('获取成功', $result); } return $this->fail($result); } /** * @notes 拼团记录列表 * @author 张无忌 * @date 2021/8/4 17:40 */ public function record() { return $this->dataLists(new TeamRecordLists()); } }