From 402ae70d5db62fe728222d30234ab094bd0872bb Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sun, 29 Sep 2024 14:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_login.go | 1 + app/hdl/hdl_set_center.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 }