Skip to content

Commit

Permalink
查询快递100:手机号bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyfor authored May 17, 2022
1 parent 715e95f commit d1926d5
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 d1926d5

Please sign in to comment.