|
@@ -35,7 +35,7 @@ func ShareIndex(c *gin.Context) { |
|
|
user := svc.GetUser(c) |
|
|
user := svc.GetUser(c) |
|
|
e.OutSuc(c, md.ShareIndexResp{ |
|
|
e.OutSuc(c, md.ShareIndexResp{ |
|
|
MasterId: masterId, |
|
|
MasterId: masterId, |
|
|
MediumDomain: "https://" + mediumDomain + "/#/?agent_id=" + utils.IntToStr(user.AgentId), |
|
|
|
|
|
|
|
|
MediumDomain: "http://" + mediumDomain + "/#/?agent_id=" + utils.IntToStr(user.AgentId), |
|
|
}, nil) |
|
|
}, nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |