package com.template.api;

import com.template.model.pojo.SmartSchool;
import com.template.model.result.CommonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/api/smartRelation")
public interface SmartRelationControllerAPI {

    @GetMapping(value = "/getList")
    @ApiOperation(value = "个人亲密度展示", notes = "个人亲密度展示", httpMethod = "GET")
    CommonResult getList(@RequestParam int currentPage, @RequestParam int pageCount,@RequestParam Integer userId,String startTime,String endTime);

    @GetMapping(value = "/getAppList")
    @ApiOperation(value = "小程序——个人亲密度展示", notes = "小程序——个人亲密度展示", httpMethod = "GET")
    CommonResult getAppList(@RequestParam int currentPage, @RequestParam int pageCount,@RequestParam Integer userId,String startTime,String endTime);


}
