dever 6 năm trước cách đây
mục cha
commit
10a6e43197
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/lib/Core.php

+ 1 - 1
code/lib/Core.php

@@ -18,7 +18,7 @@ class Core
 	public function createCodeByOrder($order, $num = 0)
 	{
 		$code = '';
-        if ($order['type'] == 3 && !$order['code']) {
+        if ($order['type'] == 3) {
         	Dever::setInput('set_product_id', $order['product_id']);
             # 购买兑换码
             $product_num = 1;