Browse Source

checkredis

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

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

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

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

/**
* 创建订单
@@ -48,7 +48,8 @@ class Order extends Base
$productId = $this->request->post('id', 0);

try {
$user_id = $this->auth->id;
// $user_id = $this->auth->id;
$user_id = 1;

// 单个商品
if ($productId) {


Loading…
Cancel
Save