Browse Source

一些功能

Kirin 4 years ago
parent
commit
63a79ed2f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/PublicController.php

+ 1 - 1
app/api/controller/PublicController.php

@@ -60,7 +60,7 @@ class PublicController
             if (!$orderKey) return app('json')->fail('生成订单错误!');
             if (!$orderKey) return app('json')->fail('生成订单错误!');
             if (StoreOrder::be(['order_id|unique' => $orderKey, 'uid' => $uid, 'is_del' => 0]))
             if (StoreOrder::be(['order_id|unique' => $orderKey, 'uid' => $uid, 'is_del' => 0]))
                 return app('json')->fail('订单已生成');
                 return app('json')->fail('订单已生成');
-            $order = StoreOrder::cacheKeyCreateOrder($uid, $orderKey, 0, 'weixin', false, 0, '系统后台订单', 0, 0, 0, 0, 0, $exchange_id, false, 1, 2, '', '', 0, 0, 1);
+            $order = StoreOrder::cacheKeyCreateOrder($uid, $orderKey, 0, 'weixin', false, 0, '系统后台订单', 0, 0, 0, 0, 0, $exchange_id, false, 1, 2, '', '', 0, 0, 1, 1);
             if ($order === false) return app('json')->fail(StoreOrder::getErrorInfo('订单生成失败'));
             if ($order === false) return app('json')->fail(StoreOrder::getErrorInfo('订单生成失败'));
             else $res = StoreOrder::jsPayPrice($order['order_id'], $uid);
             else $res = StoreOrder::jsPayPrice($order['order_id'], $uid);
             if ($res) {
             if ($res) {