Commit f8c62d49 by 泽锋 李

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

parent 020cba0c
...@@ -55,9 +55,10 @@ namespace AutoTurnOver.DB ...@@ -55,9 +55,10 @@ namespace AutoTurnOver.DB
nostock =item.nostock??0, nostock =item.nostock??0,
sup_id = item.id, sup_id = item.id,
sup_value =item.value, sup_value =item.value,
companyaddress = item.companyaddress, companyaddress = item.companyaddress??"",
contactname = item.contactname, contactname = item.contactname??"",
contactphone = item.contactphone, contactphone = item.contactphone??"",
city = item.city??""
}; };
......
...@@ -18,6 +18,7 @@ namespace AutoTurnOver.Models.ApiDto ...@@ -18,6 +18,7 @@ namespace AutoTurnOver.Models.ApiDto
public string companyaddress { get; set; } public string companyaddress { get; set; }
public string contactname { get; set; } public string contactname { get; set; }
public string contactphone { get; set; } public string contactphone { get; set; }
public string city { get; set; }
public int value { get; set; } public int value { get; set; }
/// <summary> /// <summary>
/// 是否无库 /// 是否无库
......
...@@ -26,5 +26,6 @@ namespace AutoTurnOver.Models ...@@ -26,5 +26,6 @@ namespace AutoTurnOver.Models
public string companyaddress { get; set; } public string companyaddress { get; set; }
public string contactname { get; set; } public string contactname { get; set; }
public string contactphone { get; set; } public string contactphone { get; set; }
public string city { get; set; }
} }
} }
...@@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Mvc; ...@@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Mvc;
namespace AutoTurnOver.Controllers namespace AutoTurnOver.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]/[action]")]
[ApiController] [ApiController]
public class ReturnGoodsController : ControllerBase 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