|
@@ -458,7 +458,7 @@ func ShareIndex(c *gin.Context) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
medium := new(model.UserAppDomain) |
|
|
medium := new(model.UserAppDomain) |
|
|
_, err = db.Db.Where("type =?", "medium").And("uuid =?", masterId).And("is_ssl =1").Get(agent) |
|
|
|
|
|
|
|
|
_, err = db.Db.Where("type =?", "medium").And("uuid =?", masterId).And("is_ssl =1").Get(medium) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
return |
|
|
return |
|
|