Commit 63a719575e8695d20480d793e55b0caa5cd998df
1 parent
3d905cfc
Exists in
master
and in
4 other branches
提交
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/constdef.go
| ... | ... | @@ -45,6 +45,7 @@ const ( |
| 45 | 45 | XIAOXINGXING_SERVERKEY = "33e0c3238c108a36d87025544c6a2d2f" |
| 46 | 46 | XIAOXINGXING_SERVERKEYTEST = "e2cd22102143cdcd9c181f962d031685" |
| 47 | 47 | XIAOXINGXING_SDKURL = "https://testapi-gamesdk.d3games.com/" |
| 48 | + XIAOXINGXING_SDKURLOFFICAL = "https://api.gamesdk.hmjoy.cn/" | |
| 48 | 49 | ) |
| 49 | 50 | |
| 50 | 51 | const ( | ... | ... |
src/HttpServer/logic/function.go
| ... | ... | @@ -865,7 +865,7 @@ func GetHashValue(signsum string) string { |
| 865 | 865 | |
| 866 | 866 | func DoHttpPost(bys []byte, apistr string) (string, error) { |
| 867 | 867 | body := bytes.NewBuffer(bys) |
| 868 | - url1 := XIAOXINGXING_SDKURL + apistr //"api/server/addcoin" | |
| 868 | + url1 := XIAOXINGXING_SDKURLOFFICAL + apistr //"api/server/addcoin" | |
| 869 | 869 | |
| 870 | 870 | res, err := http.Post(url1, "application/json;charset=utf-8", body) |
| 871 | 871 | if err != nil { | ... | ... |