调整微信发送

main
yanzai 12 months ago
parent 96f93b8025
commit b7795e18dd

@ -20,9 +20,10 @@ function WxSend($order_id)
function WxSendFunc()
{
$db = Db::get();
$pay_check = $db->getRow("select * from orders where status = ?
$pay_check = $db->getRow("select * from orders where wx_day1_sendmsg_status = 0
and status = ?
and appointment_number is not null
and wx_day1_sendmsg_status = 0
and wx_day1_sendmsg_time is not null
and wx_day1_sendmsg_time <= ?
order by wx_day1_sendmsg_time asc", [
2, date('Y-m-d H:i:s')

Loading…
Cancel
Save