using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_ISquareCabinServices; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers { [Route("api/MedicineGoods")] [ApiController] public class MedicineGoodsController : ApiBaseController { public MedicineGoodsController(IMedicineGoodsServices service) : base(service) { } [HttpPost,Route("GetMedicineGoodsInfom"),AllowAnonymous] public WebResponseContent GetMedicineGoodsInfom() { return Service.GetMedicineGoodsInfom(); } [HttpPost, Route("DeleteProduct"), AllowAnonymous] public WebResponseContent DeleteProduct(string goodsno) { return Service.DeleteProduct(goodsno); } } }