guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
14248b6d6a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/model/patent/tradeorder.js

+ 2 - 2
app/model/patent/tradeorder.js

@@ -37,8 +37,8 @@ const tradeorder = {
   buyer_phone: { type: String }, // 买家手机号
   buyer_email: { type: String }, // 买家邮箱
   type: { type: String }, // 订单类型
-  sell: { type: [ sells ] }, // 出售信息
-  purchase: { type: [ purchases ] }, // 求购信息
+  sell: { type: sells }, // 出售信息
+  purchase: { type: purchases }, // 求购信息
   status: { type: String }, // 状态
   remark: { type: String },
 };