From f36fe3eca14e9a9543eb5dc8fa3bd9a7e3611b98 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期四, 21 九月 2023 19:30:21 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- controllers/location.go | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/controllers/location.go b/controllers/location.go index 421958b..682c1f0 100644 --- a/controllers/location.go +++ b/controllers/location.go @@ -35,7 +35,7 @@ util.ResponseFormat(c, code.RequestParamError, "鍒涘缓澶辫触") return } - util.ResponseFormat(c, code.RequestParamError, "鍒涘缓鎴愬姛") + util.ResponseFormat(c, code.Success, "鍒涘缓鎴愬姛") } // GetLocationList @@ -60,6 +60,9 @@ util.ResponseFormat(c, code.RequestParamError, "鏌ユ壘澶辫触") return } + for _, location := range list { + location.JointName = location.ParentId + "/" + location.Name + } util.ResponseFormatList(c, code.Success, list, int(total)) } -- Gitblit v1.8.0