dever 6 년 전
부모
커밋
a64fe25f7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      journal/lib/Pay.php

+ 1 - 1
journal/lib/Pay.php

@@ -97,7 +97,7 @@ class Pay
                 $update = array();
                 $update['where_id'] = $order['id'];
                 $update['status'] = 2;
-                if ($order['type'] == 3) {
+                if ($order['type'] == 3 && !$order['code']) {
                     # 购买兑换码
                     $product_num = 1;
                     $code_num = 1;