|
@@ -78,7 +78,7 @@ func (service *gameShieldService) SubmitGameShield(ctx context.Context, req *v1.
|
|
|
dunName := strconv.Itoa(req.Uid) + "_hostId" + strconv.Itoa(req.HostId) + "_" + req.Domain
|
|
|
formData := map[string]interface{}{
|
|
|
"app_name": dunName,
|
|
|
- "gateway_group_id": 5, // TODO: 临时写死
|
|
|
+ "gateway_group_id": 2, // TODO: 临时写死
|
|
|
"backend": "{}",
|
|
|
"expired_at": "",
|
|
|
"max_device_count": 0,
|
|
@@ -101,7 +101,7 @@ func (service *gameShieldService) SubmitGameShield(ctx context.Context, req *v1.
|
|
|
}
|
|
|
if err := service.gameShieldRepository.AddGameShield(ctx, &model.GameShield{
|
|
|
AppName: req.AppName,
|
|
|
- GatewayGroupId: 5, // TODO: 临时写死
|
|
|
+ GatewayGroupId: 2, // TODO: 临时写死
|
|
|
AddTime: time.Now(),
|
|
|
Uid: req.Uid,
|
|
|
HostId: req.HostId,
|