diff --git a/app/hdl/hdl_login.go b/app/hdl/hdl_login.go index 070e06b..639ea70 100644 --- a/app/hdl/hdl_login.go +++ b/app/hdl/hdl_login.go @@ -180,6 +180,7 @@ func Register(c *gin.Context) { BusinessLicenseImgUrl: "", LegalRepresentative: "", CountryRegionId: 1, + SettlementType: 3, CountryRegion: "", RegisteredAddressProvinceId: 0, RegisteredAddressCityId: 0, diff --git a/app/hdl/hdl_set_center.go b/app/hdl/hdl_set_center.go index e14b8b3..c78c2c3 100644 --- a/app/hdl/hdl_set_center.go +++ b/app/hdl/hdl_set_center.go @@ -35,7 +35,7 @@ func ShareIndex(c *gin.Context) { user := svc.GetUser(c) e.OutSuc(c, md.ShareIndexResp{ MasterId: masterId, - MediumDomain: mediumDomain + "/#/?agent_id=" + utils.IntToStr(user.AgentId), + MediumDomain: "https://" + mediumDomain + "/#/?agent_id=" + utils.IntToStr(user.AgentId), }, nil) return }