Explorar o código

增加名次字段

guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
8a5e55fed6
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  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 },
 };