Commit 13e42868314c957419ed6f846cd86c0615d11fa8
1 parent
7798f30d
Exists in
master
提交
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -474,7 +474,7 @@ func GetCoinFromSdk(uuid int, gameid string, channel string) (int, error) { | @@ -474,7 +474,7 @@ func GetCoinFromSdk(uuid int, gameid string, channel string) (int, error) { | ||
474 | 474 | ||
475 | SERVERKEY := conf.GetCoinConf().Key | 475 | SERVERKEY := conf.GetCoinConf().Key |
476 | if gameid == "1017" { | 476 | if gameid == "1017" { |
477 | - //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 477 | + SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
478 | } | 478 | } |
479 | logger.Info("GetCoinFromSdk serverkey=%v", SERVERKEY) | 479 | logger.Info("GetCoinFromSdk serverkey=%v", SERVERKEY) |
480 | var paramlist []string | 480 | var paramlist []string |
@@ -811,7 +811,7 @@ func GetUserSelfData(uniqueid string) (string, error) { | @@ -811,7 +811,7 @@ func GetUserSelfData(uniqueid string) (string, error) { | ||
811 | func GetCashList(uuid int, gameid string, channel string, start int, number int) (*[]WithDrawRecord, error) { | 811 | func GetCashList(uuid int, gameid string, channel string, start int, number int) (*[]WithDrawRecord, error) { |
812 | SERVERKEY := conf.GetCoinConf().Key | 812 | SERVERKEY := conf.GetCoinConf().Key |
813 | if gameid == "1017" { | 813 | if gameid == "1017" { |
814 | - //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 814 | + SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
815 | } | 815 | } |
816 | 816 | ||
817 | var paramlist []string | 817 | var paramlist []string |
@@ -881,7 +881,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | @@ -881,7 +881,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | ||
881 | 881 | ||
882 | SERVERKEY := conf.GetCoinConf().Key | 882 | SERVERKEY := conf.GetCoinConf().Key |
883 | if gameid == "1017" { | 883 | if gameid == "1017" { |
884 | - //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 884 | + SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
885 | } | 885 | } |
886 | 886 | ||
887 | if goldnum == 0 || uuid == 0 || gameid == "" || channel == "" || openid == "" || ver == "" { | 887 | if goldnum == 0 || uuid == 0 || gameid == "" || channel == "" || openid == "" || ver == "" { |
@@ -982,7 +982,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | @@ -982,7 +982,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | ||
982 | func AddCoinToSdk(uuid int, goldnum int, gameid string, channel string, atype int) (int, error) { | 982 | func AddCoinToSdk(uuid int, goldnum int, gameid string, channel string, atype int) (int, error) { |
983 | SERVERKEY := conf.GetCoinConf().Key | 983 | SERVERKEY := conf.GetCoinConf().Key |
984 | if gameid == "1017" { | 984 | if gameid == "1017" { |
985 | - //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 985 | + SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
986 | } | 986 | } |
987 | var paramlist []string | 987 | var paramlist []string |
988 | sign_type := "sign_type=md5" | 988 | sign_type := "sign_type=md5" |