lrf 2 years ago
parent
commit
b7ca328af0
1 changed files with 1 additions and 1 deletions
  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: '年龄' }, //