service = AfterSaleService::getInstance(); } /** * 审核售后 * @Method POST */ public function audit(): JsonResponse { $pass = (int) request()->post('status', 1) === 1; return jok( $this->service->audit( (int) request()->post('id', 0), $pass, (string) request()->post('admin_remark', '') ), $pass ? '已通过' : '已拒绝' ); } }