💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 1. 数据概览统计 +++ get:/store/product/product_analysis <<< success 返回示例: { status: 200, this_week_sale: 3, this_month_sale: 3, this_quarter_sale: 5, this_year_sale: 5, product_total: 5, product_in_store: 3, product_sale: 1, product_problem: 1 } 返回参数说明: this_week_sale: 本周售出数量 this_month_sale: 本月售出数量 this_quarter_sale: 本季度售出数量 this_year_sale: 本年售出数量 product_total: 产品仓库总存数量 product_in_store: 产品剩余存货数量 product_sale: 产品总售出数量 product_problem: 问题产品数量 <<< error 返回示例: { 'status'=>400, 'message'=>'没有信息' } +++ * * * * * * * * * * * * * * * ## 2. 产品列表统计 +++ get:/store/product/product_detail_analysis <<< success 返回示例: { status: 200, product: { FOHEART-TLE: { product_count: 2, product_in_store: 1, product_sale: 0, product_problem: 1 }, FOHEART-C1: { product_count: 3, product_in_store: 2, product_sale: 1, product_problem: 0 } } } 返回参数说明: product: 产品信息 FOHEART-TLE:产品名称 product_count: 该产品总数量 product_in_store: 该产品在库数量 product_sale: 该产品出售数量 product_problem:该产品有问题数量 <<< error 返回示例: { 'status'=>400, 'message'=>'没有产品信息' } +++ * * * * * * * * * * * * * * * ## 3. 设备列表统计 +++ get:/store/devices/devices_analysis <<< success 返回示例: { status: 200, devices_info: { FOHEART-TLE: { 1: { type_name: "节点", model_number: "MC1508", devices_count: 4, devices_in_store: 3, devices_sale: 1, devices_problem: 0 }, 2: { type_name: "插排", model_number: "MC1508", devices_count: 1, devices_in_store: 0, devices_sale: 1, devices_problem: 0 }, 3: { type_name: "路由器", model_number: "MC1508", devices_count: 1, devices_in_store: 1, devices_sale: 0, devices_problem: 0 } }, FOHEART-C1: { 1: { type_name: "节点", model_number: "MC1508", devices_count: 4, devices_in_store: 1, devices_sale: 2, devices_problem: 1 }, 2: { type_name: "插排", model_number: "MC1508", devices_count: 2, devices_in_store: 1, devices_sale: 0, devices_problem: 1 }, 3: { type_name: "路由器", model_number: "MC1508", devices_count: 1, devices_in_store: 1, devices_sale: 0, devices_problem: 0 } } } } 返回参数说明: devices_info: 设备信息 FOHEART-TLE: 设备名称 model_number: 设备型号 devices_count: 该设备总数量 devices_in_store: 该设备在库数量 devices_sale: 该设备出售数量 devices_problem:该设备有问题数量S +++