Commit 3d8c6bee authored by liuyuzhen's avatar liuyuzhen

配送时间问题

parent 2ba8ead1
...@@ -82,8 +82,7 @@ class DeliveryFormulaModel extends \DAO\AbstractModel { ...@@ -82,8 +82,7 @@ class DeliveryFormulaModel extends \DAO\AbstractModel {
$currentTime = $todayStartTime; $currentTime = $todayStartTime;
} }
$return=array(); $return=array();
$time = date('Y-m-d',$currentTime); $todayUnixTime = mktime(0,0,0,date('m'),date('d'),date('Y'));
$todayUnixTime = strtotime($time);
$todayList = $this->getBuyerFormulaList($currentTime,$todayEndTime,\Our\ApiConst::one); $todayList = $this->getBuyerFormulaList($currentTime,$todayEndTime,\Our\ApiConst::one);
$isDefault = \Our\ApiConst::zero; $isDefault = \Our\ApiConst::zero;
if($todayList){ if($todayList){
......
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