diff --git a/src/HttpServer/logic/constdef.go b/src/HttpServer/logic/constdef.go index 19f20d1..38e6ef7 100644 --- a/src/HttpServer/logic/constdef.go +++ b/src/HttpServer/logic/constdef.go @@ -45,6 +45,7 @@ const ( XIAOXINGXING_SERVERKEY = "33e0c3238c108a36d87025544c6a2d2f" XIAOXINGXING_SERVERKEYTEST = "e2cd22102143cdcd9c181f962d031685" XIAOXINGXING_SDKURL = "https://testapi-gamesdk.d3games.com/" + XIAOXINGXING_SDKURLOFFICAL = "https://api.gamesdk.hmjoy.cn/" ) const ( diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 1d45dc3..a68c025 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -865,7 +865,7 @@ func GetHashValue(signsum string) string { func DoHttpPost(bys []byte, apistr string) (string, error) { body := bytes.NewBuffer(bys) - url1 := XIAOXINGXING_SDKURL + apistr //"api/server/addcoin" + url1 := XIAOXINGXING_SDKURLOFFICAL + apistr //"api/server/addcoin" res, err := http.Post(url1, "application/json;charset=utf-8", body) if err != nil { -- libgit2 0.21.0