lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
b7ca328af0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/model/user/coach.js

+ 1 - 1
app/model/user/coach.js

@@ -4,7 +4,7 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
 
 // 教练
 const coach = {
-  icon: { type: String, required: false, zh: '头像' }, //
+  icon: { type: Array, required: false, zh: '头像' }, //
   name: { type: String, required: false, zh: '姓名' }, //
   card: { type: String, required: false, zh: '身份证号' }, //
   age: { type: Number, required: false, zh: '年龄' }, //