物品扫码领用与库存

This commit is contained in:
2026-02-24 11:28:12 +08:00
parent 7098f30af2
commit cd692594e4
18 changed files with 1192 additions and 51 deletions
+11 -6
View File
@@ -8,22 +8,27 @@ class InvItemValidate extends Validate
{
// 规则
protected $rule = [
'id' => 'require|integer',
];
// 提示
protected $message = [
'id.require' => '物品ID不能为空',
'id.integer' => '物品ID必须为整数',
];
// 场景
protected $scene = [
'store' => [
'id',
],
'update' => [
]
'id',
],
'qrCode' => [
'id',
],
];
}
}