no message
This commit is contained in:
parent
407de4c65c
commit
e3d978494c
|
|
@ -181,7 +181,7 @@ namespace WZ
|
||||||
|
|
||||||
|
|
||||||
private static string Splash_AD_RULES = "Splash_AD_RULES";
|
private static string Splash_AD_RULES = "Splash_AD_RULES";
|
||||||
private static string Splash_AD_RULES_DEFAULT_VALUE = "[{\"firstcold_splash_switch\":1,\"cold_splash_switch\":1,\"hot_splash_switch\":1,\"hot_timegap\":30,\"loadtime\":2}]";
|
private static string Splash_AD_RULES_DEFAULT_VALUE = "[{\"firstcold_splash_switch\":0,\"cold_splash_switch\":1,\"hot_splash_switch\":1,\"hot_timegap\":30,\"loadtime\":5}]";
|
||||||
|
|
||||||
public SplashConfigItem GetSplashConfigItem()
|
public SplashConfigItem GetSplashConfigItem()
|
||||||
{
|
{
|
||||||
|
|
@ -189,7 +189,7 @@ namespace WZ
|
||||||
SplashConfigItem[] configItems = DataUtils.FromJsonArray<SplashConfigItem>(jsonData);
|
SplashConfigItem[] configItems = DataUtils.FromJsonArray<SplashConfigItem>(jsonData);
|
||||||
if (configItems.Length == 0 || configItems == null)
|
if (configItems.Length == 0 || configItems == null)
|
||||||
{
|
{
|
||||||
return new SplashConfigItem() { firstcold_splash_switch = 1, cold_splash_switch = 1, hot_splash_switch = 1, hot_timegap = 30, loadtime = 2 };
|
return new SplashConfigItem() { firstcold_splash_switch = 0, cold_splash_switch = 1, hot_splash_switch = 1, hot_timegap = 30, loadtime = 5 };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue