This commit is contained in:
@@ -82,7 +82,7 @@ func (s *GoldListService) ModifyBefore(ctx context.Context, method string, param
|
|||||||
|
|
||||||
t, _ := s.dbm_fix(s.Model).Where("player_id", userId).Where("status", 0).Count()
|
t, _ := s.dbm_fix(s.Model).Where("player_id", userId).Where("status", 0).Count()
|
||||||
if t > 0 {
|
if t > 0 {
|
||||||
return fmt.Errorf("不允许多挂单")
|
return fmt.Errorf("不允许挂多单")
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user