huangjiajun 1 月之前
父節點
當前提交
98dc3e2ae1
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. +1
    -6
      app/store/hdl/hdl_store.go

+ 1
- 6
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,


Loading…
取消
儲存