From 422f93b6f1004c8d7abb9e41b44c5a723bc8b279 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 27 九月 2023 20:13:38 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- controllers/location.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/location.go b/controllers/location.go index 2d7946f..5785eb6 100644 --- a/controllers/location.go +++ b/controllers/location.go @@ -33,7 +33,7 @@ } if params.ParentId != 0 { //鏌ヨ涓婄骇鍚嶇О - first, err := models.NewLocationSearch().SetParentId(params.ParentId).First() + first, err := models.NewLocationSearch().SetID(params.ParentId).First() if err != nil { util.ResponseFormat(c, code.RequestParamError, "鏌ヨ涓婄骇鍚嶇О澶辫触") return -- Gitblit v1.8.0