using BBWY.Server.Business; using BBWY.Server.Model.Db; using Microsoft.AspNetCore.Mvc; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace BBWY.Server.API.Controllers { [Produces("application/json")] [Route("Api/[Controller]/[Action]")] [ApiController] public class YunDingController : ControllerBase { private YunDingBusiness yunDingBusiness; public YunDingController(YunDingBusiness yunDingBusiness) { this.yunDingBusiness = yunDingBusiness; } [HttpGet] public void CreateKey() { //yunDingBusiness.CreateKey(); } } }