huangjiajun hace 1 mes
padre
commit
98dc3e2ae1
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. +1
    -6
      app/store/hdl/hdl_store.go

+ 1
- 6
app/store/hdl/hdl_store.go Ver fichero

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


Cargando…
Cancelar
Guardar