企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 获取货物列表 ~~~[api] get:/base/goods id#货物id type_id#货物类别id <<< success { "code":"0", "msg":"success", “data”:{"code":0,"msg":"获取成功","count":5,"data":\[{"id":6,"type\_id":3,"name":"汽油","density":1,"description":null,"create\_time":"2021-10-09 16:22:29","type\_name":"柴油-汽油","type":{"id":3,"parent\_id":1,"type\_name":"汽油","remark":null,"status":0,"create\_time":"2021-10-09 11:28:01"}}, } <<< error { "code":"1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | data| 信息列表| | data.id| 货物id| | data.type_id| 货物类别id| | data.type_name| 货物类别全称| | data.type| 货物类别详细信息| | data.name| 货物名称| | data.density|密度| | data.description| 货物描述| | data.update_time| 修改时间| | data.create_time| 创建时间|