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
|
{
|
/// <summary>
|
/// 经销商创建商品接口
|
/// </summary>
|
[Route("api/[controller]/[action]")]
|
[ApiController]
|
[Authorize]
|
public class DistributorGoodsController : ControllerBase
|
{
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
[HttpPost("GetGoodslist")]
|
[SwaggerResponse(200, "返回数据", typeof(WebApiCallBack))]
|
[SwaggerResponse(201, "Data类型", typeof(Job_jobSeting))]
|
public async Task<WebApiCallBack> GetGoodslist()
|
{
|
var jm = new WebApiCallBack();
|
|
|
jm.status = true;
|
return jm;
|
|
}
|
}
|
}
|