Commit 4f9f0d36 authored by christ's avatar christ

share

parent a5fbde4a
...@@ -64,7 +64,7 @@ class IndexController extends \Our\Controller_Abstract { ...@@ -64,7 +64,7 @@ class IndexController extends \Our\Controller_Abstract {
$begin=strtotime($paramsStr['storeStartTime']); $begin=strtotime($paramsStr['storeStartTime']);
$end=strtotime($paramsStr['storeCloseTime']); $end=strtotime($paramsStr['storeCloseTime']);
if($begin>=$end){ if($begin>=$end){
$paramsStr['storeCloseTime']=date('H:i',$end+\Our\ApiConst::oneDaySecond); $paramsStr['storeCloseTime']=\Our\DescribeConst::storeCloseTimePre.date('H:i',$end+\Our\ApiConst::oneDaySecond);
} }
} }
......
...@@ -66,6 +66,8 @@ class DescribeConst ...@@ -66,6 +66,8 @@ class DescribeConst
const receiveCouponSuccess = '领取优惠券成功'; const receiveCouponSuccess = '领取优惠券成功';
const addCartSuccess = '加入购物车成功'; const addCartSuccess = '加入购物车成功';
const storeCloseTimePre='次日';
const setMessageSuccess='消息设置成功'; const setMessageSuccess='消息设置成功';
const editCartSuccess = '编辑购物车成功'; const editCartSuccess = '编辑购物车成功';
......
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