dever 6 年之前
父节点
当前提交
10a6e43197
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;