javascript - The keys of several parameters in ajax data are consistent, and then the previous values ​​are overwritten. How to solve this problem?
代言
代言 2017-06-26 10:53:36
0
3
831

The interface provided by the background is

There are several fq in the parameters but the corresponding meanings are different
When I use ajax to transmit data to the background


In this case, the later value will overwrite the previous value. How to solve this

代言
代言

reply all(3)
習慣沉默

fq:[recommended,source,type,transaction_type]
pass to backend in array method

刘奇

I agree with the method on the first floor, use an array to pass it

仅有的幸福

What I’m more curious about is why do the parameter names have to be the same?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template