优化业务错误顶层响应

This commit is contained in:
zhangshun
2026-06-16 10:36:34 +08:00
parent 4b45cd6d99
commit d15b09a0c9
4 changed files with 91 additions and 3 deletions

13
tests/testdata/spc/invalid_count.json vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"msg": "spc invalid count",
"req_code": "CASE_SPC_INVALID_001",
"req_from": "wasm_test",
"req_cmd": "Cmd_Spc",
"req_param": {
"n": 5,
"k": 2,
"usl": 1.7,
"lsl": 1.5,
"x": [1.55, 1.58, 1.61, 1.6, 1.6]
}
}