You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
711 B
27 lines
711 B
3 years ago
|
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();
|
||
|
}
|
||
|
}
|
||
|
}
|