This commit is contained in:
2025-03-21 20:39:02 +08:00
parent b9ca357448
commit 32fcdd7ad1
4 changed files with 15 additions and 9 deletions

View File

@@ -4,7 +4,6 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/pkg/errors"
"io"
"log"
"net/http"
@@ -12,6 +11,8 @@ import (
"qnc-server/pkg/lzkit/crypto"
"strconv"
"time"
"github.com/pkg/errors"
)
type WestResp struct {
@@ -99,7 +100,6 @@ func (w *WestDexService) CallAPI(code string, reqData map[string]interface{}) (r
return nil, DecryptErr
}
return decryptedData, errors.New(westDexResp.Message)
log.Println(string(decryptedData))
}
if westDexResp.Data == "" {
return nil, errors.New(westDexResp.Message)