data["active_test"] = "active"; } public function method(Request $request, $method) { return call_user_func([$this, $method], $request); } public function test() { Waybill::query()->whereIn("waybill_number",['BSZX2108243654','BSZX2108233588'])->update(["logistic_id"=>98]); } }