Laravel How can I have if statements in a factory?

前端 未结 0 785
余生分开走
余生分开走 2020-12-01 05:22

Currently trying to have my factory only fill in certain columns based on the product type. Is it even possible to do this in the first place? Thanks in advance. Here is my

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