1.提交缺失的东西
This commit is contained in:
@ -938,7 +938,7 @@ class OrderLogic extends LogicBase
|
||||
*/
|
||||
public static function getOrderDetail($order_id, $user_id)
|
||||
{
|
||||
$order = Order::find(['del' => 0, 'id' => $order_id, 'user_id' => $user_id])->with('orderGoods');
|
||||
$order = Order::where(['del' => 0, 'id' => $order_id, 'user_id' => $user_id])->with('orderGoods')->find();
|
||||
if (!$order){
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user