错误 #28765
仓库管理-新建仓库,用户id错误,接口返回成功
0%
描述
接口路径:https://qa.yushu.cloud/apiauto/fm-inventory-server/restWarehouseServer/createWarehouse
header:
Headers: groupCode=test
Accept=/
Content-Type=application/json; charset=UTF-8
入参:
{
"user_id": "sdfwefwe",
"project_id": "Pj6006110006",
"warehouse_name": "ApiTestk1Uv",
"warehouse_keeper_id": [
"RY1726799187744579586"
],
"department_id": "",
"warehouse_type_code": "",
"location_id": "",
"goods_shelf": [
]
}
响应:
{
"Item": {
"warehouse_id": "CK600611000641ed9c50949d4fcb8d6426b769208c2a"
},
"ResultCode": "00000",
"Result": "success"
}
预期结果:
{
"code": "A0400",
"result": "fail",
"message": "user_id 不合法",
"timestamp": 1698163686610
实际结果:
{
"Item": {
"warehouse_id": "CK600611000641ed9c50949d4fcb8d6426b769208c2a"
},
"ResultCode": "00000",
"Result": "success"
}