mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 14:24:34 +01:00
Init enter game
This commit is contained in:
33
SdkServer/Handlers/Sdk/AbTestController.cs
Normal file
33
SdkServer/Handlers/Sdk/AbTestController.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using KianaBH.Data.Models.Sdk;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace KianaBH.SdkServer.Handlers.Sdk;
|
||||
|
||||
[ApiController]
|
||||
public class AbTestController : ControllerBase
|
||||
{
|
||||
[HttpPost("/data_abtest_api/config/experiment/list")]
|
||||
public IActionResult GetExperimentList()
|
||||
{
|
||||
return Ok(new ResponseBase
|
||||
{
|
||||
Data = new[]
|
||||
{
|
||||
new
|
||||
{
|
||||
code = 1000,
|
||||
type = 2,
|
||||
config_id = "169",
|
||||
period_id = "6524_721",
|
||||
version = 2,
|
||||
configs = new
|
||||
{
|
||||
hoyopass_enable = false
|
||||
},
|
||||
sceneWhiteList = false,
|
||||
experimentWhiteList = false,
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user