Procházet zdrojové kódy

增加名次字段

guhongwei před 3 roky
rodič
revize
8a5e55fed6
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 2 0
      app/controller/.matchteam.js
  2. 1 0
      app/model/matchteam.js

+ 2 - 0
app/controller/.matchteam.js

@@ -15,6 +15,7 @@ module.exports = {
       "win",
       "shu",
       "integral",
+      "rank",
       "status",
       "remark",
     ],
@@ -40,6 +41,7 @@ module.exports = {
       "win",
       "shu",
       "integral",
+      "rank",
       "status",
       "remark",
     ],

+ 1 - 0
app/model/matchteam.js

@@ -19,6 +19,7 @@ const matchteam = {
   win: { type: String }, // 赢
   shu: { type: String }, // 输
   integral: { type: String }, // 积分
+  rank: { type: String }, // 名次
   status: { type: String, default: '0' }, // 状态
   remark: { type: String },
 };