feat(OrderController): 在订单API中增加系统维护暂停交易提示

This commit is contained in:
mkm 2024-09-26 21:20:57 +08:00
parent 4e2fcf669f
commit 5e13b684a8
2 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,8 @@ class OrderController extends BaseApiController
*/
public function createOrder()
{
return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日');
$cartId = (array)$this->request->post('cart_id', []);
$store_id =$this->request->post('store_id', 0);
$pay_type = (int)$this->request->post('pay_type');

View File

@ -159,6 +159,7 @@ class StoreOrderController extends BaseAdminController
*/
public function createOrder()
{
return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日');
$cartId = (array)$this->request->post('cart_id', []);
$pay_type = (int)$this->request->post('pay_type');
$addressId = (int)$this->request->post('address_id');