`//订单已支付,未通知成功
if($status == 'payed')
{
//创建或更新漏单表
$missing = Missing::get($order['id']);
if($missing)
{
//存在订单数据 更新数据
Missing::where('order_id',$order['id'])->update('status', $status);
}else{
//创建消息数据
$data = [
'type' => $order['type'],
'price' => $order['price'],
'order_id' => $order['id'],
'status' => $status,
];
Missing::create($data);
}
}`
我觉得应该修改成这样才正确
Type error: Argument 1 passed to think\db\Query::update() must be of the type array, string given, called in /addons/xorpay/library/Service.php on line 348
这里也有错误
问 xorpay更新订单失败