Skip to content

Commit

Permalink
Merge pull request #45 from icowan/master
Browse files Browse the repository at this point in the history
fix 保存文件位置
  • Loading branch information
icowan authored Apr 20, 2021
2 parents 20ee2f9 + 03bf862 commit f9ee45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/Yw56Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function getPrintUrl(string $orderNumber, array $params = []): string

try {
$fileName = sprintf("%s.pdf", $orderNumber);
$filePath = "./" . $fileName;
$filePath = "/tmp/" . $fileName;

$cli->get(sprintf("%s/service/users/%d/expresses/%s/%sLABEL",
$this->endpoint, $this->userId, $orderNumber, "A4L"), [
Expand Down

0 comments on commit f9ee45f

Please sign in to comment.