💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
对于一些常用的内容,Logic提供了申明(Statement)的方式进行配置。使用方法: 在逻辑类里重写方法: ``` public function getStatement(): array  { [ "useCreateInfo", "useUpdateInfo", "useOpenid", "getWith", "getListWith" ]  } ``` | 申明项 | 类型 | 说明 | 默认值 | --- | --- | --- | --- | | useOpenid | boolean或string | 是否使用openid,也可以直接在方法里返回方法 | | | useCreateInfo | boolean或string | 是否使用createinfo,也可以直接在方法里返回方法 | | | useUpdateInfo | boolean或string | 是否使用updateinfo,也可以直接在方法里返回方法 | | | useEnable | boolean或int | 是否包含enable中,提供1或0,可直接指定默认值 | | | getWith | string | 使用get方法时使用的关联名,在model里定义的关联方法名| | | getListWith | string | 使用list查询方法时使用的关联名,在model里定义的关联方法名| |