local RebateshopData  ={
	[3200349] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3200349"},
	[3301163] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3301163"},
	[3323481] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323481"},
	[3323482] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323482"},
	[3323483] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323483"},
	[3323484] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323484"},
	[3323485] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323485"},
	[3323486] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323486"},
	[3323487] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323487"},
	[711083]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_711083"},
	[711903]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_711903"},
	[720128]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_720128"},
	[723725]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_723725"},
	[3005675]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3005675"},
	[3008221]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3008221"},
	[3008223]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3008223"},
	[3008225]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3008225"},
	[3009100]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3009100"},
	[3009101]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3009101"},
	[3009102]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3009102"},
	[3009103]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3009103"},
	[3009104]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3009104"},
	[3301809]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3301809"},
	[3306510]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3306510"},
	[3311641]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3311641"},
	[3311748]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3311748"},
	[3311820]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3311820"},
	[3311821]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3311821"},
	[3321108]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3321108"},
	[3321574]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3321574"},
	[3322766]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322766"},
	[3322767]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322767"},
	[3322768]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322768"},
	[3322770]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322770"},
	[3322771]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322771"},
	[3322772]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322772"},
	[3322774]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322774"},
	[3322812]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322812"},
	[3322813]  = {"hot", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322813"},
	[3322818]  = {"hot", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322818"},
	[3322944]  = {"rare", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322944"},
	[3323032]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323032"},
	[3323033]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323033"},
	[3323034]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323034"},
	[3323035]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323035"},
	[3323036]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323036"},
	[3323037]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323037"},
	[3323038]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323038"},
	[3323039]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323039"},
	[3323040]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323040"},
	[3323041]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323041"},
	[3323042]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323042"},
	[3323043]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323043"},
	[3323044]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323044"},
	[3323045]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323045"},
	[3323046]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323046"},
	[3323047]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323047"},
	[3323048]  = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3323048"},
	[3322219] = {"hot", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322219"},
	[711904] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_711904"},
	[753003] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_753003"},
	[1100006] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_1100006"},
	[3000430] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_723725"},
	[3002926] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3002926"},
	[3003124] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3003124"},
	[3008727] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3008727"},
	[3100046] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3100046"},
	[3303373] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3303373"},
	[3306885] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3306885"},
	[3322760] = {"hot", "STR_INI_LUA_REBATESHOP_ITEMDESC_3322760"},
	[3315626] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315626"},
	[3315627] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315627"},
	[3004464] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3004464"},
	[3315516] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315516"},
	[3315517] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315517"},
	[3315518] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315518"},
	[3315519] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3315519"},
	[3330830] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330830"},
	[3330831] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330831"},
	[3330832] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330832"},
	[3330833] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330833"},
	[3330834] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330834"},
	[3330835] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330835"},
	[3330836] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330836"},
	[3330837] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330837"},
	[3330838] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3330838"},
	[3333400] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3333400"},
	[3333401] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3333401"},
	[3333402] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3333402"},
	[3333403] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3333403"},
	[756001] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_756001"},
	[3309001] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3309001"},
	[3311738] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3311738"},
	[3320676] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3320676"},
	[3321937] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3321937"},
	[3332214] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3332214"},
	[3332215] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3332215"},
	[3309661] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3309661"},
	[3335125] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3335125"},
	[3335126] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3335126"},
	[3335127] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3335127"},
	[3335128] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3335128"},
	[3328251] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3328251"},
	[3328252] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3328252"},
	[3328253] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3328253"},
	[3328254] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3328254"},
	[3328247] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3328247"},
	[3339453] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3339453"},
	[3339454] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3339454"},
	[3339455] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3339455"},
	[3339456] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3339456"},
	
	[3329511] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3329511"},
	[3329512] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3329512"},
	[3329513] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3329513"},
	[3329514] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3329514"},
	[3344443] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3344443"},
	[3344444] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3344444"},
	[3344445] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3344445"},
	[3344446] = {"normal", "STR_INI_LUA_REBATESHOP_ITEMDESC_3344446"},
}

--各个服务器的折扣率，不在此表内的表示不打折
--key为服务器id
--value为折扣率，取值是（0,1）之间的任意浮点数值
local Discount = {
	[0] = 1,
	-- [11111] = 0.5,
	-- [22222] = 0.7,
	-- [33333] = 0.6,
}

local function GetRebateshopItem(key, index)
    return RebateshopData[key][index]
end

-- 参数
-- id	服务器id
-- 返回值
-- 该服务器id对应的折扣率
local function GetDiscount(id)
	local default = 1
	local r = Discount[id]
	if r then
		default = r
	end
	return default
end

local Rebateshop = {
	GetRebateshopItem = GetRebateshopItem,
	GetDiscount = GetDiscount,
}

Rebateshop_GetRebateshopItem = Rebateshop.GetRebateshopItem
Rebateshop_GetDiscount = Rebateshop.GetDiscount

return Rebateshop
