diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 5fe9959a7..39244a64d 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -39,11 +39,10 @@ func RefreshRealMobile(ctx *jxcontext.Context, vendorID int, fromTime, toTime ti sql := ` SELECT * FROM goods_order - WHERE vendor_id = ? AND consignee_mobile2 = '' AND order_created_at <= ? + WHERE vendor_id = ? AND consignee_mobile2 = '' ` sqlParams := []interface{}{ vendorID, - time.Now().Add(-4 * time.Hour), // 最近的刷新意义不大 } if !utils.IsTimeZero(fromTime) { sql += " AND order_created_at >= ?" diff --git a/controllers/jx_order.go b/controllers/jx_order.go index 63150c715..168c51985 100644 --- a/controllers/jx_order.go +++ b/controllers/jx_order.go @@ -420,7 +420,7 @@ func (c *OrderController) GetStoresOrderSaleInfo() { // @Description 刷新订单真实手机号 // @Param token header string true "认证token" // @Param vendorID formData int true "厂商ID" -// @Param fromTime formData string false "起始时间" +// @Param fromTime formData string true "起始时间" // @Param toTime formData string false "结束时间" // @Param isAsync formData bool true "是否异步操作" // @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"