using CoreCms.Net.Model.Entities.baifenbingfa.jon; using CoreCms.Net.Model.ViewModels.UI; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.Annotations; using System.Threading.Tasks; namespace CoreCms.Net.Web.WebApi.Controllers.baifenbingfa { /// /// 经销商创建商品接口 /// [Route("api/[controller]/[action]")] [ApiController] [Authorize] public class DistributorGoodsController : ControllerBase { /// /// /// /// [HttpPost("GetGoodslist")] [SwaggerResponse(200, "返回数据", typeof(WebApiCallBack))] [SwaggerResponse(201, "Data类型", typeof(Job_jobSeting))] public async Task GetGoodslist() { var jm = new WebApiCallBack(); jm.status = true; return jm; } } }