26 lines
487 B
Go
26 lines
487 B
Go
package msdk
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestClient_UpdateAdjustId(t *testing.T) {
|
|
|
|
req := CreateUpdateAdjustIdRequest()
|
|
req.AdjustId = "8834ca659b22316354e9e9d6dd6b1904"
|
|
req.Username = "xn94941370"
|
|
req.GameSign = "testcw"
|
|
req.LongId = "ba19fc578664f7c73c424b4c2919f9d1"
|
|
req.GameId = 10002
|
|
req.RegTime = 1678949413
|
|
req.Os = "ios"
|
|
req.MakeSign()
|
|
client, _ := NewClient("hk")
|
|
resp, err := client.UpdateAdjustId(req)
|
|
if err != nil {
|
|
return
|
|
}
|
|
fmt.Println(resp.Msg)
|
|
}
|