为什么我的三元忽略第一个条件($order->status === "prepairing")
?
检查订单状态时,它总是跳过第一个条件并立即进入第二个条件(并且始终将其视为真)
$messageMiddle = ( ($order->status === "prepairing") ? " your prder is being prepared. Make your way towards the store." : ($order->status === "complete") ?' your order is done! Please show your order-code at the store.' : ' thank you for ordering ');
jeck猫
子衿沉夜