now make a drop-down multi-selection, as shown in the figure, and the selected id is [2prime3]
.but the background requires the data to be like this:
[
{
"appId":2,
"direction":"1"
},
{
"appId":3,
"direction":"1"
},
]
where direction is always dead for 1, how can I change it to the format I want at the back end?