This commit is contained in:
richboo111
2023-05-10 15:03:58 +08:00
parent 5ddd973c4f
commit 14e1348088
3 changed files with 128 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
package mtwmapi
import (
"fmt"
"net/url"
"testing"
@@ -17,3 +18,11 @@ func TestGetRefundSkuDetailFromMsg(t *testing.T) {
result := api.GetRefundSkuDetailFromMsg(msg)
t.Log(utils.Format4Output(result, false))
}
func TestSplice(t *testing.T) {
var params = map[string]interface{}{}
var statuss []int
params["statuss"] = "[20]"
utils.UnmarshalUseNumber([]byte(params["statuss"].(string)), &statuss)
fmt.Println(statuss)
}