|
|
@ -164,7 +164,7 @@ func (t *TugOfWarCtl) Team() { |
|
|
|
func (t *TugOfWarCtl) Member() { |
|
|
|
baheId := t.MustGetInt64("bahe_activity_id") |
|
|
|
|
|
|
|
bahe := models.TugOfWar{} |
|
|
|
bahe := &models.TugOfWar{} |
|
|
|
exist, err := models.Get(bahe, baheId) |
|
|
|
t.CheckErr(err) |
|
|
|
t.Assert(exist, code.MSG_TUGWAR_NOT_EXIST, "拔河不存在") |
|
|
@ -207,7 +207,7 @@ type BaheScoreResult struct { |
|
|
|
func (t *TugOfWarCtl) Score() { |
|
|
|
baheId := t.MustGetInt64("bahe_activity_id") |
|
|
|
|
|
|
|
bahe := models.TugOfWar{} |
|
|
|
bahe := &models.TugOfWar{} |
|
|
|
exist, err := models.Get(bahe, baheId) |
|
|
|
t.CheckErr(err) |
|
|
|
t.Assert(exist, code.MSG_TUGWAR_NOT_EXIST, "拔河不存在") |
|
|
|