Commit f8c62d49 by 泽锋 李

供应商列表新增城市的抓取

parent 020cba0c
......@@ -55,9 +55,10 @@ namespace AutoTurnOver.DB
nostock =item.nostock??0,
sup_id = item.id,
sup_value =item.value,
companyaddress = item.companyaddress,
contactname = item.contactname,
contactphone = item.contactphone,
companyaddress = item.companyaddress??"",
contactname = item.contactname??"",
contactphone = item.contactphone??"",
city = item.city??""
};
......
......@@ -18,6 +18,7 @@ namespace AutoTurnOver.Models.ApiDto
public string companyaddress { get; set; }
public string contactname { get; set; }
public string contactphone { get; set; }
public string city { get; set; }
public int value { get; set; }
/// <summary>
/// 是否无库
......
......@@ -26,5 +26,6 @@ namespace AutoTurnOver.Models
public string companyaddress { get; set; }
public string contactname { get; set; }
public string contactphone { get; set; }
public string city { get; set; }
}
}
......@@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Mvc;
namespace AutoTurnOver.Controllers
{
[Route("api/[controller]")]
[Route("api/[controller]/[action]")]
[ApiController]
public class ReturnGoodsController : ControllerBase
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment