|
|
@@ -64,8 +64,8 @@ class ProductController extends BaseController
|
|
|
$content = '<TEXT x="360" y="30" font="12" w="2" h="2" r="90">' . $name . '</TEXT>';
|
|
|
$content .= '<BC128 x="260" y="30" h="80" s="1" r="90" n="5" w="12">' . $ptItemId . '</BC128>';
|
|
|
$content .= '<TEXT x="60" y="30" font="12" w="2" h="2" r="90">' . $unit . '</TEXT>';
|
|
|
- $content .= '<QR x="80" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $id . '</QR>';
|
|
|
- $content .= '<TEXT x="50" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
+ $content .= '<QR x="50" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $id . '</QR>';
|
|
|
+ $content .= '<TEXT x="120" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
$p->printLabelMsg($content);
|
|
|
util::complete();
|
|
|
}
|