|
|
@@ -45,10 +45,10 @@ func GetModuleSetting(c *gin.Context) { |
|
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
var dataMap map[string]interface{} |
|
|
|
var dataMap interface{} |
|
|
|
redisConn := cache.GetPool().Get() |
|
|
|
scheme, domain := svc.ImageBucket(db.Db, redisConn) |
|
|
|
moduleStyle.Data = svc.ImageFormatWithBucketNew(scheme, domain, moduleStyle.Data) |
|
|
|
moduleStyle.Data = svc.ImageFormatWithBucketForDataInfo(scheme, domain, moduleStyle.Data) |
|
|
|
utils.Unserialize([]byte(moduleStyle.Data), &dataMap) |
|
|
|
resp := md.GetModuleSettingResp{ |
|
|
|
ModName: moduleStyle.ModName, |
|
|
|