feat(shipping-notice): 落地字段资产治理与唯一 Schema,自动建单随版本冻结

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-07-29 16:23:15 +08:00
1 parent b7307fc573
commit 3a1dbf7ce5
144 files changed
+15167 -4480

No files matched your search

+1 -1
View File
@@ -274,7 +274,7 @@ def test_order_schema_admin_api_permissions_and_validation(app, client):
json={'display_name': '发货订单字段'},
)
assert created.status_code == 201
assert parse_api_data(created.get_json())['schema']['schema_code'] == 'SHIPPING_ORDER'
assert parse_api_data(created.get_json())['schema']['schema_code'] == 'STANDARD_SHIPPING_NOTICE'
invalid = client.post(
'/api/admin/shipping-order-schema/fields',