Explorar o código

团队成员是数组

guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
990272ecc8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/model/team.js

+ 1 - 1
app/model/team.js

@@ -10,7 +10,7 @@ const team = {
   create_id: { type: String }, // 团队创建人id
   logo: { type: Array }, // 团队logo
   type: { type: String }, // 团队类型
-  members: { type: String }, // 团队成员
+  members: { type: Array }, // 团队成员
   create_time: { type: String }, // 创建时间
   status: { type: String, default: '0' }, // 团队状态
   remark: { type: String },