Pass function call into function

前端 未结 0 513
滥情空心
滥情空心 2021-02-03 14:16

I need a function that makes a http request (get, post etc) based on the input into the function without using a bunch of if statements

Eg. I have a function:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题