Procházet zdrojové kódy

ft: 测试代码

master
SisMaker před 2 roky
rodič
revize
9e84ad196e
2 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. +3
    -1
      include/ranks.hrl
  2. +1
    -1
      src/ranks.erl

+ 3
- 1
include/ranks.hrl Zobrazit soubor

@ -22,10 +22,12 @@
, publicInfo :: term()
, rankType1Score :: term()
, rankType2Score :: term()
, rankType3Score :: term()
, rankType4Score :: term()
, rankTypeNScore :: term()
}).
-define(AllRankType, [rankType1Score, rankType2Score, rankTypeNScore]).
-define(AllRankType, [rankType1Score, rankType2Score, rankTypeNScore, rankType3Score, rankType4Score]).
-record(rankInfo, {
rank :: integer()

+ 1
- 1
src/ranks.erl Zobrazit soubor

@ -51,7 +51,7 @@ updateScore(RankType, Key, Score) ->
WorkName = ?ranksCfg:getV(erlang:phash2(Key, ?ranksCfg:getV(?workCnt))),
%%
%%
%% gen_srv:clfn(WorkName, rank_work, mUpdateScore, [Key, RankPos, Score]),
% gen_srv:clfn(WorkName, rankWork, mUpdateScore, [RankType, Key, Score], 1000000000).
%%
gen_srv:csfn(WorkName, rankWork, mUpdateScore, [RankType, Key, Score]).

Načítá se…
Zrušit
Uložit