# sixshop-aliyun-wuliu **Repository Path**: sixdec-1/aliyun-wuliu ## Basic Information - **Project Name**: sixshop-aliyun-wuliu - **Description**: No description available - **Primary Language**: PHP - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-28 - **Last Updated**: 2025-09-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 全国快递物流查询 扩展说明 参考: https://market.aliyun.com/apimarket/detail/cmapi021863#sku=yuncode15863000017 ```php "); print($body); } else { if ($httpCode == 400 && strpos($header, "Invalid Param Location") !== false) { print("参数错误"); } elseif ($httpCode == 400 && strpos($header, "Invalid AppCode") !== false) { print("AppCode错误"); } elseif ($httpCode == 400 && strpos($header, "Invalid Url") !== false) { print("请求的 Method、Path 或者环境错误"); } elseif ($httpCode == 403 && strpos($header, "Unauthorized") !== false) { print("服务未被授权(或URL和Path不正确)"); } elseif ($httpCode == 403 && strpos($header, "Quota Exhausted") !== false) { print("套餐包次数用完"); } elseif ($httpCode == 403 && strpos($header, "Api Market Subscription quota exhausted") !== false) { print("套餐包次数用完,请续购套餐"); } elseif ($httpCode == 500) { print("API网关错误"); } elseif ($httpCode == 0) { print("URL错误"); } else { print("参数名错误 或 其他错误"); print($httpCode); $headers = explode("\r\n", $header); $headList = array(); foreach ($headers as $head) { $value = explode(':', $head); $headList[$value[0]] = $value[1]; } print($headList['x-ca-error-message']); } } ```