dever 4 years ago
parent
commit
61d13b3815
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Pay.php

+ 1 - 1
lib/Pay.php

@@ -130,7 +130,7 @@ class Pay
     # 生成订单号
     # 生成订单号
     public function getOrderId()
     public function getOrderId()
     {
     {
-        $where['order_id'] = Dever::order();
+        $where['order_id'] = Dever::order('G');
         $state = Dever::db('goods/order')->one($where);
         $state = Dever::db('goods/order')->one($where);
         if (!$state) {
         if (!$state) {
             return $where['order_id'];
             return $where['order_id'];