feat(OrderController): 在订单API中增加系统维护暂停交易提示
This commit is contained in:
parent
4e2fcf669f
commit
5e13b684a8
@ -121,6 +121,8 @@ class OrderController extends BaseApiController
|
|||||||
*/
|
*/
|
||||||
public function createOrder()
|
public function createOrder()
|
||||||
{
|
{
|
||||||
|
return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日');
|
||||||
|
|
||||||
$cartId = (array)$this->request->post('cart_id', []);
|
$cartId = (array)$this->request->post('cart_id', []);
|
||||||
$store_id =$this->request->post('store_id', 0);
|
$store_id =$this->request->post('store_id', 0);
|
||||||
$pay_type = (int)$this->request->post('pay_type');
|
$pay_type = (int)$this->request->post('pay_type');
|
||||||
|
@ -159,6 +159,7 @@ class StoreOrderController extends BaseAdminController
|
|||||||
*/
|
*/
|
||||||
public function createOrder()
|
public function createOrder()
|
||||||
{
|
{
|
||||||
|
return $this->fail('系统维护中,暂停交易。维护时间2024年9月27日-28日');
|
||||||
$cartId = (array)$this->request->post('cart_id', []);
|
$cartId = (array)$this->request->post('cart_id', []);
|
||||||
$pay_type = (int)$this->request->post('pay_type');
|
$pay_type = (int)$this->request->post('pay_type');
|
||||||
$addressId = (int)$this->request->post('address_id');
|
$addressId = (int)$this->request->post('address_id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user