📅  最后修改于: 2022-03-11 14:57:27.650000             🧑  作者: Mango
import { HttpClientModule } from '@angular/common/http';
...
imports: [
HttpClientModule
],
@Injectable({
providedIn: 'root'
})