Browse Source

[20250515]审核

lin-jim-leon 1 day ago
parent
commit
1a0c1daee4
3 changed files with 3 additions and 2 deletions
  1. 1 0
      route/init.go
  2. 1 1
      service/Localtask.go
  3. 1 1
      service/project.go

+ 1 - 0
route/init.go

@@ -332,6 +332,7 @@ func InitRoute(r *gin.Engine) {
 		s.POST("/localLife/task/list", controller.TaskController{}.LocalLifeTaskList)         // 本地生活列表
 		s.POST("/localLife/del", controller.TaskController{}.LocalLifeDel)                    // 删除本地生活
 		s.POST("/localLife/close", controller.TaskController{}.LocalLifeClose)                // 结束本地生活
+		s.POST("/locallife/review", handler.WrapReviewLocallifeHandler)                       // 本地生活任务审核
 
 		s.POST("/locallife/getrecuritddl", handler.WrapGetLocalRecruitTimeHandler)          //本地生活招募截止时间
 		s.POST("/locallife/gettalentstatusnum", handler.WrapGetLocalTalentstatusNumHandler) //达人状态数量

+ 1 - 1
service/Localtask.go

@@ -153,7 +153,7 @@ func (*localtask) Review(ctx context.Context, request http_model.ReviewLocallife
 			//定向任务
 			updateProject = gorm_model.YounggeeLocalLifeInfo{
 				LocalId:    request.LocallifeId,
-				TaskStatus: 6,
+				TaskStatus: 8,
 				PassAt:     &t,
 				//AutoTaskId: int(AutoTaskID),
 			}

+ 1 - 1
service/project.go

@@ -134,7 +134,7 @@ func (*project) Review(ctx context.Context, request http_model.ReviewProjectRequ
 			//定向任务
 			updateProject = gorm_model.ProjectInfo{
 				ProjectID:     request.ProjectId,
-				ProjectStatus: 6,
+				ProjectStatus: 8,
 				PassAt:        &t,
 				//AutoTaskID:    int64(AutoTaskID),
 			}