Skip to content

Commit

Permalink
Merge pull request #2 from fenghoer/master
Browse files Browse the repository at this point in the history
查询快递100:手机号bug
  • Loading branch information
inbjo authored May 24, 2022
2 parents 715e95f + d1926d5 commit 57bee53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Express100.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public function track($tracking_code = '', $shipping_code = '', $phone = '')
'num' => $tracking_code,
];

if (!empty($mobile)) {
$data['mobiletelephone'] = $phone;
if (!empty($phone)) {
$data['phone'] = $phone;
}

$post['param'] = json_encode($data);
Expand Down

0 comments on commit 57bee53

Please sign in to comment.