Xingyu Xian 6 hari lalu
induk
melakukan
c0f04128d3
3 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 1 0
      model/http_model/full_local_life_list.go
  2. 1 0
      service/local_life.go
  3. 1 1
      service/qrcode.go

+ 1 - 0
model/http_model/full_local_life_list.go

@@ -21,6 +21,7 @@ type FullPreview struct {
 	TaskForm           int                    `json:"task_form"`            // 本地生活形式
 	LocalType          int                    `json:"local_type"`           // 本地生活类型
 	LocalContentType   int                    `json:"local_content_type"`   // 本地生活内容形式
+	EnterpriseId       string                 `json:"enterprise_id"`        // 商家ID
 	RecruitStrategy    []*EasyRecruitStrategy `json:"recruit_strategy"`     // 招募策略
 	EstimatedCost      float64                `json:"estimated_cost"`       // 任务总预算
 	ServiceChargeRate  float64                `json:"service_charge_rate"`  // 服务费率

+ 1 - 0
service/local_life.go

@@ -32,6 +32,7 @@ func (*localLife) GetFullLocalLifeList(ctx context.Context, pageSize, pageNum in
 		var fullLocalPreview *http_model.FullPreview
 		fullLocalPreview = &http_model.FullPreview{}
 		fullLocalPreview.LocalId = fullLocal.LocalId
+		fullLocalPreview.EnterpriseId = fullLocal.EnterpriseId
 		fullLocalPreview.LocalName = fullLocal.LocalName
 		fullLocalPreview.TaskStatus = fullLocal.TaskStatus
 		fullLocalPreview.LocalPlatform = fullLocal.LocalPlatform

+ 1 - 1
service/qrcode.go

@@ -121,7 +121,7 @@ func (q *qrcode) GetWxQrCode(ctx context.Context, req *http_model.GetWxQRCodeReq
 		Page:       reqPath,
 		Width:      430,
 		CheckPath:  false,
-		EnvVersion: "develop",
+		EnvVersion: "trial",
 	}
 	jsonBody, err := json.Marshal(qrRequest)
 	if err != nil {