Przeglądaj źródła

任务小程序分享码

Ethan 2 dni temu
rodzic
commit
b41034627d
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      service/qrcode.go

+ 3 - 3
service/qrcode.go

@@ -87,11 +87,11 @@ func (q *qrcode) GetWxQrCode(ctx context.Context, req *http_model.GetWxQRCodeReq
 	var reqData string
 
 	if req.SelectionId != "" {
-		reqPath = ""
+		reqPath = "pageCommerce/taskDetail"
 		reqData = req.SelectionId
 	}
 	if req.SProjectId != 0 || req.ProjectId != "" {
-		reqPath = ""
+		reqPath = "pageRecommend/recommendDetail"
 		if req.SProjectId != 0 {
 			reqData = "0" + "-" + strconv.Itoa(req.SProjectId)
 		} else {
@@ -99,7 +99,7 @@ func (q *qrcode) GetWxQrCode(ctx context.Context, req *http_model.GetWxQRCodeReq
 		}
 	}
 	if req.SLocalId != 0 || req.LocalId != "" {
-		reqPath = ""
+		reqPath = "pageLife/lifeDetail"
 		if req.SLocalId != 0 {
 			reqData = "0" + "-" + strconv.Itoa(req.SLocalId)
 		} else {