/** * 获取下单提醒说明文字 */ function order_attention($order, $shop) { global $_CFG; $ptime = get_order_pickup_time(0, 0, $shop['open_time'], $shop['close_time']); $tpl = new cls_template(); $tpl->assign('lock_time', $_CFG['order_lock_time']); $tpl->assign('pickup_start_time', date('Y-m-d H:i', $ptime['start'])); $tpl->assign('pickup_end_time', date('Y-m-d H:i', $ptime['end'])); $tpl->assign('limit_time', $_CFG['shipping_limit_time']); return $tpl->fetch('str:' . $_CFG['order_attention']); }