关于bug的合集

1、You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',' at line 1

答:可能控制层 Controllers 接口 未加[FromUri]

例如:

[HttpGet]
public WebApiResult GetBatchDeliveryList([FromUri]BatchDeliverySearchDto search)
{
var pagedList = service.GetBatchDeliveryList(search);
return new WebApiResult<object>() { Data = pagedList.GetPagedListDto() };
}

posted @ 2018-08-22 17:25  newlore  阅读(143)  评论(0编辑  收藏  举报