huangjiajun 2 months ago
parent
commit
98dc3e2ae1
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      app/store/hdl/hdl_store.go

+ 1
- 6
app/store/hdl/hdl_store.go View File

@@ -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,


Loading…
Cancel
Save