|
|
@@ -46,7 +46,7 @@ class GoodsController extends BaseController
|
|
|
$price = floatval($info->price) ?? 0;
|
|
|
$content = '<TEXT x="30" y="45" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
|
|
|
$content .= '<BC128 x="30" y="115" h="75" s="1" r="0" n="3" w="10">' . $goodsSn . '</BC128>';
|
|
|
- if ($flower == 0) {
|
|
|
+ if ($flower == 0 && $price > 0) {
|
|
|
$content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">' . $price . '元</TEXT>';
|
|
|
}
|
|
|
$p->times = $num;
|