- in GetOrders, if keyword looks like a orderID, then ignore other conditions.

This commit is contained in:
gazebo
2019-02-27 10:31:04 +08:00
parent 3b2c0555ed
commit 796567c364
4 changed files with 133 additions and 23 deletions

View File

@@ -220,8 +220,8 @@ func (c *OrderController) ExportMTWaybills() {
// @Param token header string true "认证token"
// @Param orderID query string false "订单号,如果此项不为空,忽略其它所有查询条件"
// @Param keyword query string false "查询关键字"
// @Param fromDate query string true "开始日期包含格式2006-01-02"
// @Param toDate query string false "结束日期包含格式2006-01-02"
// @Param fromDate query string false "开始日期包含格式2006-01-02,如果订单号为空此项必须要求"
// @Param toDate query string false "结束日期包含格式2006-01-02,如果订单号为空此项必须要求"
// @Param vendorIDs query string false "订单所属厂商列表[1,2,3],缺省不限制"
// @Param waybillVendorIDs query string false "承运人所属厂商列表[1,2,3],缺省不限制"
// @Param storeIDs query string false "京西门店ID列表[1,2,3],缺省不限制"