|
@@ -2,12 +2,12 @@
|
|
|
const Schema = require('mongoose').Schema;
|
|
|
const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
|
|
|
|
|
|
-const reply = {
|
|
|
+const reply = [{
|
|
|
content: { type: String, zh: '内容' },
|
|
|
time: { type: String, zh: '时间' },
|
|
|
file: { type: Array, zh: '图片' },
|
|
|
reply: { type: String, zh: '店家回复' },
|
|
|
-};
|
|
|
+}];
|
|
|
|
|
|
// 商品评价
|
|
|
const goodsRate = {
|