From f89bbcf77dae0465e829ca6f7548cd36ef57aaa6 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期五, 22 九月 2023 16:37:06 +0800
Subject: [PATCH] 1.调拨接口

---
 controllers/location.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/controllers/location.go b/controllers/location.go
index 595a2ba..682c1f0 100644
--- a/controllers/location.go
+++ b/controllers/location.go
@@ -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