dataLists(); } /** * @notes 查看分销申请详情 * @return \think\response\Json * @author Tab * @date 2021/7/27 15:36 */ public function detail() { $params = (new DistributionApplyValidate())->goCheck(); $result = DistributionApplyLogic::detail($params); return $this->data($result); } /** * @notes 审核通过 * @return \think\response\Json * @author Tab * @date 2021/7/27 15:56 */ public function pass() { $params = (new DistributionApplyValidate())->post()->goCheck(); $result = DistributionApplyLogic::pass($params); if($result) { return $this->success('审核通过', [], 1, 1); } return $this->fail(DistributionApplyLogic::getError()); } /** * @notes 审核拒绝 * @return \think\response\Json * @author Tab * @date 2021/7/27 16:10 */ public function refuse() { $params = (new DistributionApplyValidate())->post()->goCheck(); DistributionApplyLogic::refuse($params); return $this->success('审核拒绝', [],1, 1); } }