feat: add manual fulfillment order creation

This commit is contained in:
yml2213
2026-08-11 11:49:58 +08:00
parent 2264851d5d
commit b686a82e60
12 changed files with 278 additions and 121 deletions
@@ -0,0 +1,6 @@
-- 区分开放 API、商户后台人工和联调测试创建的订单,供后台按来源管理。
ALTER TABLE fulfillment_orders
ADD COLUMN IF NOT EXISTS order_source VARCHAR(16) NOT NULL DEFAULT 'api';
CREATE INDEX IF NOT EXISTS idx_fulfillment_orders_merchant_source
ON fulfillment_orders (merchant_id, order_source);