💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
使用 setWith 方法传入模型对应的关联方法名即可,关联方法定义[点这里](https://ihavenolimitations.xyz/manual/thinkphp5/142357),注意:视具体场景部分需要绑定属性到父模型上(如数据用在table构建器上)。 list查询 ~~~ $list = DBuilder('ContactsGroupMember')->setWith('profile')->getLists(); ~~~ info查询 ~~~ $info = DBuilder('ContactsGroupMember')->setWith('profile')->getInfo(1); ~~~