zhouhui.jiang

update

......@@ -170,6 +170,24 @@ def create_waybill_d(consignmentCode: str, Authorization: str = None) -> str:
return _create_error_response(f"创建运单失败: {str(e)}", consignmentCode)
def create_waybill_c(consignmentCode: str, Authorization: str = None) -> str:
"""根据运单号创建C类运单
Args:
consignmentCode: 运单号(必填)
Authorization: 授权令牌,如果提供则使用该值,否则使用 API_CONFIG 中的默认值
Returns:
创建结果信息(JSON字符串),包含:
- message: 创建结果描述
"""
# 暂时不支持AI创建C类运单
result_data = {
"message": "暂不支持AI创建"
}
return json.dumps(result_data, ensure_ascii=False, indent=2)
def create_waybill_d_with_id(
consignmentCode: str,
consignmentId: str,
......
This diff is collapsed. Click to expand it.