动作: createProcureInspectApply
状态: failed
说明: API创建失败[WLCG202607161214]: HTTP请求失败: Client error: `POST https://openapi.hytechpaas.com/prod/api/openapi/application/api/qc/qcProcureInspectApply` resulted in a `401 Unauthorized` response: {"code":401,"msg":"令牌无效或已过期"}
开始: 2026-07-16 21:30:51 | 结束: 2026-07-16 21:30:51
返回列表| 步骤 | 状态 | 说明 | 载荷 | 时间 |
|---|---|---|---|---|
| init | info | 开始创建采购质检申请(单张) | 2026-07-16 21:30:51 | |
| query_candidates | info | 查询候选采购订单 |
{"count":30,"mode":"one"}
|
2026-07-16 21:30:51 |
| query_order | success | 处理采购订单 WLCG202607161214 |
{"id":1228,"code":"WLCG202607161214","supplier_id":15,"warehouse_id":3,"bill_date":"2026-05-09 00:00:00","audit_status":3,"inspect_status":0,"purchase_user_id":9,"supplier_name":null,"supplier_no":null,"warehouse_name":"原料仓"}
|
2026-07-16 21:30:51 |
| query_detail | success | 找到可送检明细 |
{"purchase_order_no":"WLCG202607161214","detail_count":1}
|
2026-07-16 21:30:51 |
| build_payload | success | 组装质检申请API请求体 |
{"useSystemCode":true,"isSubmit":true,"type":1,"businessTypeId":1,"businessTypeName":"采购入库检","supplierId":15,"supplierName":"","qcUserId":1,"qcUserName":"管理员","applyUserId":1,"applyUserName":"管理员","applyDeptId":1,"applyDeptName":"采购部","remark":"","detailList":[{"type":1,"sort":1,"procureOrderId":1228,"procureOrderCode":"WLCG202607161214","materialId":720,"materialCode":"WL202607150720","materialName":"箱体总装","spec":"61.02.01.06.03488","model":"","baseUnitId":4,"auxiliaryUnitId":4,"count":1,"auxiliaryCount":1,"warehouseId":3,"warehouseName":"原料仓","freeGiftFlag":0,"originId":1228,"originCode":"WLCG202607161214","originBillType":8,"originDetailId":5547,"originDetailSort":1,"expectCompleteTime":"2026-05-16 18:00:00","includingTaxPrice":2414.13,"notIncludingTaxPrice":2136.39823009}]}
|
2026-07-16 21:30:51 |
| api_call | failed | 调用创建质检申请API |
{"code":-1,"msg":"HTTP请求失败: Client error: `POST https:\/\/openapi.hytechpaas.com\/prod\/api\/openapi\/application\/api\/qc\/qcProcureInspectApply` resulted in a `401 Unauthorized` response:\n{\"code\":401,\"msg\":\"令牌无效或已过期\"}\n\n","refresh_error":{"code":500,"data":null,"errData":null,"errMsg":null,"msg":"AppKey错误或者AppKey不属于这个应用,请开发者确认AppKey的正确性!"}}
|
2026-07-16 21:30:51 |
| order_failed | failed | API创建失败[WLCG202607161214]: HTTP请求失败: Client error: `POST https://openapi.hytechpaas.com/prod/api/openapi/application/api/qc/qcProcureInspectApply` resulted in a `401 Unauthorized` response: {"code":401,"msg":"令牌无效或已过期"} |
{"purchase_order_id":1228,"purchase_order_no":"WLCG202607161214"}
|
2026-07-16 21:30:51 |
| error | failed | API创建失败[WLCG202607161214]: HTTP请求失败: Client error: `POST https://openapi.hytechpaas.com/prod/api/openapi/application/api/qc/qcProcureInspectApply` resulted in a `401 Unauthorized` response: {"code":401,"msg":"令牌无效或已过期"} | 2026-07-16 21:30:51 |