eloquent 关联操作之后,怎么才能让返回实例不带上关联数据
Treatment模型

控制器代码(这边使用到了customerProduct)

前端返回的JSON(这边不想带上customer_product)

关于 LearnKu
推荐文章: