From 6693482bec4e672a701153d99a7e12f9faa4259e Mon Sep 17 00:00:00 2001 From: linju Date: Fri, 2 Jul 2021 15:10:30 +0000 Subject: [PATCH] update collection/uni-id-base-order/collection.json. --- collection/uni-id-base-order/collection.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/collection/uni-id-base-order/collection.json b/collection/uni-id-base-order/collection.json index 1f8a7ba..efabebf 100644 --- a/collection/uni-id-base-order/collection.json +++ b/collection/uni-id-base-order/collection.json @@ -25,7 +25,10 @@ "user_id": { "bsonType": "String", "description": "下单用户ID,uni-id-users表", - "foreignKey":"uni-id-users._id" + "foreignKey":"uni-id-users._id", + "forceDefaultValue": { + "$env": "uid" + } }, "platform": { "bsonType": "String",