package com.cool.store.controller;

import com.cool.store.response.ResponseResult;
import com.cool.store.service.EnterpriseUserService;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @author zhangchenbiao
 * @FileName: EnterpriseUserController
 * @Description:
 * @date 2023-05-30 17:20
 */
@RestController
@RequestMapping({"/enterprises/users"})
@Slf4j
public class EnterpriseUserController {

    @Resource
    public EnterpriseUserService enterpriseUserService;

    @ApiOperation("获取开发主管")
    @GetMapping("/getDevelopmentDirectorList")
    public ResponseResult getDevelopmentDirectorList(@RequestParam(value = "wantShopArea",required = false) String wantShopArea){
        return ResponseResult.success(enterpriseUserService.getDevelopmentDirectorList(wantShopArea));
    }

}
