Tuning anomalous Hall effect in perpendicular multilayers with different oxygen environment by interfacial ionic migration