Browse Source

wip:模拟登录中转

wangshan 1 year ago
parent
commit
7843c24f01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/app/src/app/front/login.go

+ 1 - 1
src/jfw/modules/app/src/app/front/login.go

@@ -83,7 +83,7 @@ func init() {
 
 // 小程序激活活动模拟登录跳转详情页
 func (l *Login) ActivateLogin(id string) error {
-	redirectUrl := "pages/tabbar/home/index" //小程序首页地址
+	redirectUrl := "/pages/tabbar/home/index" //小程序首页地址
 	if id != "" && encrypt.SE.EncodeString(id) != "" {
 		id = encrypt.SE.EncodeString(id)
 		sessVal := l.Session().GetMultiple()