package com.yuanchu.mom.controller; import com.yuanchu.mom.pojo.User; import com.yuanchu.mom.util.HeaderToken; import com.yuanchu.mom.vo.Result; import io.swagger.annotations.Api; import lombok.AllArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @AllArgsConstructor @RestController @RequestMapping("/simple") @Api("人员模块") public class SimpleController { @Autowired private HeaderToken headerToken; @PostMapping( value = "/selectSimpleList/companyId") public Result> selectSimpleList(@PathVariable String companyId){ return Result.success(headerToken.userUrl(companyId)); } }