|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
namespace App\Service\v3\Implementations; |
|
|
namespace App\Service\v3\Implementations; |
|
|
|
|
|
|
|
|
|
|
|
use App\Constants\v3\Shipping; |
|
|
use App\Libs\FeiePrintClient; |
|
|
use App\Libs\FeiePrintClient; |
|
|
use App\Model\v3\Feprint; |
|
|
use App\Model\v3\Feprint; |
|
|
use App\Model\v3\OrderMain; |
|
|
use App\Model\v3\OrderMain; |
|
|
@ -168,7 +169,10 @@ class FeiePrintService implements FeiePrintServiceInterface |
|
|
$orderInfo .= str_pad($userName,$A+$B+$userLength,' ',STR_PAD_RIGHT); |
|
|
$orderInfo .= str_pad($userName,$A+$B+$userLength,' ',STR_PAD_RIGHT); |
|
|
$orderInfo .= str_pad($total,$C+$D+$totalLength+1,' ',STR_PAD_LEFT); |
|
|
$orderInfo .= str_pad($total,$C+$D+$totalLength+1,' ',STR_PAD_LEFT); |
|
|
$orderInfo .= '<BR>'; |
|
|
$orderInfo .= '<BR>'; |
|
|
$orderInfo .= '送货地点:' . $arr->address . '<BR>'; |
|
|
|
|
|
|
|
|
$orderInfo .= '配送方式:' . $arr->shipping_type_text . '<BR>'; |
|
|
|
|
|
if($arr->shipping_type != Shipping::SELF_TAKING){ |
|
|
|
|
|
$orderInfo .= '送货地点:' . $arr->address . '<BR>'; |
|
|
|
|
|
} |
|
|
$tel = substr_replace( $arr->tel, '****', 3, 4); |
|
|
$tel = substr_replace( $arr->tel, '****', 3, 4); |
|
|
$orderInfo .= '联系电话:' . $tel . '<BR>'; |
|
|
$orderInfo .= '联系电话:' . $tel . '<BR>'; |
|
|
$orderInfo .= '下单时间:' . $arr->pay_time_text . '<BR>'; |
|
|
$orderInfo .= '下单时间:' . $arr->pay_time_text . '<BR>'; |
|
|
|