Commit e4d64b2d6aad06af4a193fdd1b809a891f1bf236
1 parent
e896c15d
Exists in
master
1
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 |
@@ -810,7 +810,7 @@ func GetUserSelfData(uniqueid string) (string, error) { | @@ -810,7 +810,7 @@ func GetUserSelfData(uniqueid string) (string, error) { | ||
810 | func GetCashList(uuid int, gameid string, channel string, start int, number int) (*[]WithDrawRecord, error) { | 810 | func GetCashList(uuid int, gameid string, channel string, start int, number int) (*[]WithDrawRecord, error) { |
811 | SERVERKEY := conf.GetCoinConf().Key | 811 | SERVERKEY := conf.GetCoinConf().Key |
812 | if gameid == "1017" { | 812 | if gameid == "1017" { |
813 | - SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 813 | + //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
814 | } | 814 | } |
815 | 815 | ||
816 | var paramlist []string | 816 | var paramlist []string |
@@ -880,7 +880,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | @@ -880,7 +880,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | ||
880 | 880 | ||
881 | SERVERKEY := conf.GetCoinConf().Key | 881 | SERVERKEY := conf.GetCoinConf().Key |
882 | if gameid == "1017" { | 882 | if gameid == "1017" { |
883 | - SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 883 | + //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
884 | } | 884 | } |
885 | 885 | ||
886 | if goldnum == 0 || uuid == 0 || gameid == "" || channel == "" || openid == "" || ver == "" { | 886 | if goldnum == 0 || uuid == 0 || gameid == "" || channel == "" || openid == "" || ver == "" { |
@@ -981,7 +981,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | @@ -981,7 +981,7 @@ func GetCashFromSDK(uuid int, goldnum int, gameid, channel, openid, nickname, he | ||
981 | func AddCoinToSdk(uuid int, goldnum int, gameid string, channel string, atype int) (int, error) { | 981 | func AddCoinToSdk(uuid int, goldnum int, gameid string, channel string, atype int) (int, error) { |
982 | SERVERKEY := conf.GetCoinConf().Key | 982 | SERVERKEY := conf.GetCoinConf().Key |
983 | if gameid == "1017" { | 983 | if gameid == "1017" { |
984 | - SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 | 984 | + //SERVERKEY = XIAOXINGXING_SERVERKEYTEST_1017 |
985 | } | 985 | } |
986 | var paramlist []string | 986 | var paramlist []string |
987 | sign_type := "sign_type=md5" | 987 | sign_type := "sign_type=md5" |