码迷,mamicode.com
首页 > 其他好文 > 详细

关于bug的合集

时间:2018-08-22 18:29:31      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:get   控制   webapi   new   bat   erro   arch   obj   man   

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() };
}

关于bug的合集

标签:get   控制   webapi   new   bat   erro   arch   obj   man   

原文地址:https://www.cnblogs.com/newlore/p/9519088.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!