Browse Source

checkredis

yuenan
娄梦宁 3 years ago
parent
commit
4489721ed0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      addons/unishop/controller/Order.php

+ 2
- 2
addons/unishop/controller/Order.php View File

@@ -38,7 +38,7 @@ class Order extends Base
*/
protected $frequently = ['getorders'];

protected $noNeedLogin = ['count','create'];
protected $noNeedLogin = ['count','create','submit'];

/**
* 创建订单
@@ -147,7 +147,7 @@ class Order extends Base
}

$orderModel = new \addons\unishop\model\Order();
$result = $orderModel->createOrder($this->auth->id, $data);
$result = $orderModel->createOrder(1, $data);

Db::commit();



Loading…
Cancel
Save