@@ -6,7 +6,7 @@ const shareSchema = new Schema({
compilationID: String,
owner: String, // 拥有者ID
receiver: String, // 接收者ID
- libType: Number, // 1: 定额库; 2: 人材机库; 3: 组件模板库;
+ libType: Number, // 1: 定额库; 2: 人材机库; 3: 组价模板库;
allowCooperate: {
type: Boolean,
default: false
@@ -97,7 +97,7 @@ async function copyTemplateLib(userID, userName, compilationID) {
userID: userID,
compilationID: compilationID,
libID: uuid.v1(),
- libName: `${userName}的组件模板`,
+ libName: `${userName}的组价模板`,
datas: template.datas,
share: template.share
};