This commit is contained in:
root
2019-11-29 19:52:55 +08:00
parent be37bcb3bf
commit 78673af6e8
2 changed files with 8 additions and 12 deletions

View File

@ -83,6 +83,7 @@ class OrderController extends Controller
die('order is paid');
}
$order->status = 1;
$order->callback_no = $obj['id'];
if (!$order->save()) {
abort(500, 'fail');
}