Convert queries to expected array efficiently - Laravel

前端 未结 0 1901
南笙
南笙 2021-01-05 10:48

I have a dictionaries table looks like this:

Here is the array result that I want:

I\'ve already achieved the result by these ugly code:

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