From 931e10ff09ed3bade33570755347367e3bf0f842 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 21 九月 2023 19:39:36 +0800
Subject: [PATCH] 1.修改出入库的验证逻辑方式
---
request/location.go | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/request/location.go b/request/location.go
index 18a6c36..ce3e2be 100644
--- a/request/location.go
+++ b/request/location.go
@@ -3,6 +3,11 @@
type LocationByType struct {
Type int `json:"type" form:"type"`
Keyword string `json:"keyword" form:"keyword"`
- ParentId int `json:"parentId" form:"parentId"`
+ ParentId string `json:"parentId" form:"parentId"`
CompanyId int `json:"companyId" form:"companyId"`
}
+
+type GetLocationList struct {
+ PageInfo
+ KeyWord string `json:"keyWord"`
+}
--
Gitblit v1.8.0