From 98dc3e2ae186507cd11d567339b675e0214d4263 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 27 Sep 2024 17:49:48 +0800 Subject: [PATCH] 1 --- app/store/hdl/hdl_store.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/store/hdl/hdl_store.go b/app/store/hdl/hdl_store.go index 4ebfd21..eb7325f 100644 --- a/app/store/hdl/hdl_store.go +++ b/app/store/hdl/hdl_store.go @@ -262,11 +262,6 @@ func StoreOrderConfirm(c *gin.Context) { storeSvc.StoreOrderConfirm(c) } func UserStoreInfo(c *gin.Context) { - var arg map[string]string - if err := c.ShouldBindJSON(&arg); err != nil { - e.OutErr(c, e.ERR_INVALID_ARGS, err) - return - } user := svc.GetUser(c) data, _ := db.SysModFindBySkipIdentifierWithUid(c, svc.MasterDb(c), "pub.flutter.user_store", user.Info.Uid) if data == nil { @@ -275,7 +270,7 @@ func UserStoreInfo(c *gin.Context) { Position: "user_store", SkipIdentifier: "pub.flutter.user_store", Title: "店铺模板", - Uid: utils.StrToInt(arg["uid"]), + Uid: user.Info.Uid, State: 1, Data: "{\"icon\":\"\",\"icon_url\":\"\",\"name\":\"\",\"store_detail_url\":\"\",\"address\":\"\",\"phone\":\"\",\"time_str\":\"\",\"notice_str\":\"\",\"banner_title\":\"\",\"activity_title\":\"\"}", Platform: 1,