package com.red.circle.other.app.inner.endpoint.activity;

import com.red.circle.other.app.inner.service.activity.ActivityAgentAnchorCountClientService;
import com.red.circle.other.inner.endpoint.activity.api.ActivityAgentAnchorCountClientApi;
import com.red.circle.other.inner.endpoint.activity.api.ActivityGlobalizationDescriptionClientApi;
import lombok.RequiredArgsConstructor;
import org.springframework.http.MediaType;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author longli on @date 2024/3/14
 */

@Validated
@RestController
@RequestMapping(value = ActivityAgentAnchorCountClientApi.API_PREFIX, produces = MediaType.APPLICATION_JSON_VALUE)
@RequiredArgsConstructor
public class ActivityAgentAnchorCountClientEndpoint implements ActivityAgentAnchorCountClientApi {

  private final ActivityAgentAnchorCountClientService activityAgentAnchorCountClientService;

  @Override
  public void initZero(Long acceptUserId, Long teamId) {
    activityAgentAnchorCountClientService.initZero(acceptUserId, teamId);
  }
}
