dever 3 年之前
父节点
当前提交
07b8c37a5d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/shop/lib/Sell.php

+ 3 - 1
app/shop/lib/Sell.php

@@ -1161,7 +1161,9 @@ class Sell
             $info['card_code_cash'] = 0;
         }
 
-        $info['card_code_cash'] .= '('.$info['card_code_card'].')';
+        if ($info['card_code_card']) {
+            $info['card_code_cash'] .= '('.$info['card_code_card'].')';
+        }
 
         if ($tk && $tk['process'] == 1) {
             $status = '申请' . $tk_status[$tk['status']];