From 69d86515e8eb0e09fcd7038c9ca91a044671c417 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 19 Nov 2024 16:01:40 +0800 Subject: [PATCH] 1 --- app/svc/svc_store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/svc/svc_store.go b/app/svc/svc_store.go index 0fb30be..4d5abd6 100644 --- a/app/svc/svc_store.go +++ b/app/svc/svc_store.go @@ -450,6 +450,9 @@ func GetStoreId(c *gin.Context) string { if utils.StrToInt(storeId) == 0 { storeId = c.GetHeader("StoreId") } + if utils.StrToInt(storeId) == 0 { + storeId = c.GetHeader("Store_id") + } return storeId } func Store(c *gin.Context) {